[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Image.py should send 2 new arguments to qemu-dm for setting QEMU window



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 5c44f0905ca047dd3cfbe1323df3b856a84bd47c
# Parent  99b9046a8df224b7de7e2be6c3719c081b4af0e3
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@xxxxxxxxx>

diff -r 99b9046a8df2 -r 5c44f0905ca0 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sun Dec  4 10:54:04 2005
+++ b/tools/python/xen/xend/image.py    Sun Dec  4 10:57:32 2005
@@ -261,7 +261,7 @@
 
         # 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')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.