diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-06-22 13:00:42 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-06-23 16:18:38 +0000 |
commit | ffffbb369f3ed9bca5ff2867143f76d0c6e069c0 (patch) | |
tree | b4e7e36e2608b89ddc49a3247afc7c8404cea4e5 /disas.c | |
parent | 74526eb01886ca45774c1e9c736f61536fa2bda1 (diff) |
Revert "xen-hvm: increase maxmem before calling xc_domain_populate_physmap"
This reverts commit c1d322e6048796296555dd36fdd102d7fa2f50bf.
The original commit fixes a bug when assigning a large number of
devices which require option roms to a guest. (One known
configuration that needs extra memory is having more than 4 emulated
NICs assigned. Three or fewer NICs seems to work without this
functionality.)
However, by unilaterally increasing maxmem, it introduces two
problems.
First, now libxl's calculation of the required maxmem during migration
is broken -- any guest which exercised this functionality will fail on
migration. (Guests which have the default number of devices are not
affected.)
Secondly, it makes it impossible for a higher-level toolstack or
administer to predict how much memory a VM will actually use, making
it much more difficult to effectively use all of the memory on a
machine.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions