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

[Xen-devel] [PATCH] Seperate VMX domainname argument to 2 parts to enable qemu-dm


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "You, Yongkang" <yongkang.you@xxxxxxxxx>
  • Date: Sun, 4 Dec 2005 14:53:45 +0800
  • Delivery-date: Sun, 04 Dec 2005 06:53:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcX4n3hT0DkJbV+6TEiJls4GTAyTrg==
  • Thread-topic: [PATCH] Seperate VMX domainname argument to 2 parts to enable qemu-dm

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>

--- a/tools/python/xen/xend/image.py    2005-12-04 14:32:04.956602836
+0800
+++ b/tools/python/xen/xend/image.py    2005-12-04 14:31:47.873559655
+0800
@@ -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')

Attachment: domainname_arguments.patch
Description: domainname_arguments.patch

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

 


Rackspace

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