|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/libxl: run libxl__arch_domain_create() much earlier.
Tim Deegan writes ("[PATCH] tools/libxl: run libxl__arch_domain_create() much
earlier."):
> Among other things, arch_domain_create() sets the shadow(/hap/p2m)
> memory allocation, which must happen after vcpus are assigned (or the
> shadow op will fail) but before memory is allocated (or we might run
> out of p2m memory).
>
> libxl__build_pre(), which already sets similar things like maxmem,
> semes like a reasonable spot for it. That needed a bit of plumbing to
> get the right datastructure from the caller.
>
> As a side-effect, the return code from libxl__arch_domain_create() is
> no longer ignored.
Applied, thanks.
Thanks for referencing
http://lists.xen.org/archives/html/xen-devel/2013-03/msg00191.html
on irc, Tim. I added a reference to it to the commit message.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |