hvm: x86 ioemu-dm does not need a memory-size parameter on the command line.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-04-04 18:41:42 +01:00
1 parent 6b2fe8aecf
commit 5967572aab
3 files changed
+11 -14

No files matched your search

+6 -3
View File
@@ -426,11 +426,14 @@ class HVMImageHandler(ImageHandler):
# Execute device model.
#todo: Error handling
args = [self.device_model]
args = args + ([ "-d", "%d" % self.vm.getDomid(),
"-m", "%s" % (self.getRequiredInitialReservation() / 1024)])
args = args + ([ "-d", "%d" % self.vm.getDomid() ])
if arch.type == "ia64":
args = args + ([ "-m", "%s" %
(self.getRequiredInitialReservation() / 1024) ])
args = args + self.dmargs
if restore:
args = args + ([ "-loadvm", "/tmp/xen.qemu-dm.%d" % self.vm.getDomid() ])
args = args + ([ "-loadvm", "/tmp/xen.qemu-dm.%d" %
self.vm.getDomid() ])
env = dict(os.environ)
if self.display:
env['DISPLAY'] = self.display
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.