]> xenbits.xensource.com Git - qemu-upstream-unstable.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, 27 Jan 2015 13:50:50 +0000 (13:50 +0000)
commit901230fd8ce053cc21312a2eca2f3ba9f1d103f2
tree952774e0eca5b467a83ef9d1796e3574d81435c3
parent0d37748342e29854db7c9f6c47d7f58c6cfba6b2
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.

upstream-commit-id: c1d322e6048796296555dd36fdd102d7fa2f50bf

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