Re: [Xen-devel] [PATCH] increase maxmem before calling xc_domain_populate_physmap

2014-11-26 Thread Stefano Stabellini
On Tue, 25 Nov 2014, Andrew Cooper wrote: > On 25/11/14 17:45, Stefano Stabellini wrote: > > Increase maxmem before calling xc_domain_populate_physmap_exact to avoid > > the risk of running out of guest memory. This way we can also avoid > > complex memory calculations in libxl at domain constructi

Re: [Xen-devel] [PATCH] increase maxmem before calling xc_domain_populate_physmap

2014-11-25 Thread Andrew Cooper
On 25/11/14 17:45, Stefano Stabellini wrote: > Increase maxmem before calling xc_domain_populate_physmap_exact to avoid > the risk of running out of guest memory. This way we can also avoid > complex memory calculations in libxl at domain construction time. > > This patch fixes an abort() when assi

[Xen-devel] [PATCH] increase maxmem before calling xc_domain_populate_physmap

2014-11-25 Thread Stefano Stabellini
Increase maxmem before calling xc_domain_populate_physmap_exact to avoid the risk of running out of guest memory. This way we can also avoid complex memory calculations in libxl at domain construction time. This patch fixes an abort() when assigning more than 4 NICs to a VM. Signed-off-by: Stefan