ioemu: Do not pass -m (memory) option to qemu, as ioemu-remote rejects

memory sizes greater than 2GB when built as a 32-bit binary.

Instead, direct HVM Linux loading approximates end of low memory via a
different method.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-08-05 13:23:59 +01:00
1 parent 92148d2eda
commit 95d4283bb4
2 files changed
+8 -15

No files matched your search

-4
View File
@@ -250,10 +250,6 @@ class ImageHandler:
def parseDeviceModelArgs(self, vmConfig):
ret = ["-domain-name", str(self.vm.info['name_label'])]
# Tell QEMU how large the guest's memory allocation is
# to help it when loading the initrd (if neccessary)
ret += ["-m", str(self.getRequiredInitialReservation() / 1024)]
# Find RFB console device, and if it exists, make QEMU enable
# the VNC console.
if int(vmConfig['platform'].get('nographic', 0)) != 0:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.