mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Image.py should send 2 new arguments to qemu-dm for setting QEMU window
Title. 1 is const string "-domain-name", the other is the string of domain name. At present imagy.py combines these two strings to 1. So Qemu will fail to recognize it and fail to start. Signed-off-by: Yongkang You <yongkang.you@intel.com>
This commit is contained in:
1 parent
92279a6821
commit
e23e1a21a5
1 file changed
+1
-1
@@ -261,7 +261,7 @@ class VmxImageHandler(ImageHandler):
|
||||
|
||||
# Handle disk/network related options
|
||||
mac = None
|
||||
ret.append("-domain-name %s" % self.vm.info['name'])
|
||||
ret = ret + ["-domain-name", "%s" % self.vm.info['name']]
|
||||
for (name, info) in deviceConfig:
|
||||
if name == 'vbd':
|
||||
uname = sxp.child_value(info, 'uname')
|
||||
|
||||