mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
6b2fe8aecf
commit
5967572aab
3 files changed
+11
-14
No files matched your search
@@ -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
|
||||
|
||||