]> git.proxmox.com Git - mirror_qemu.git/commit
xen-hvm: increase maxmem before calling xc_domain_populate_physmap
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 3 Dec 2014 13:15:19 +0000 (08:15 -0500)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 13 Jan 2015 18:05:52 +0000 (18:05 +0000)
commitc1d322e6048796296555dd36fdd102d7fa2f50bf
tree0a78c45f97f36ab537a246cd18d143fba1d66b84
parent99605175c93a24be4aa39543cd02551ea205e614
xen-hvm: increase maxmem before calling xc_domain_populate_physmap

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: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Don Slutz <dslutz@verizon.com>
xen-hvm.c