WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Seperate VMX domainname argument to 2 parts to enabl

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Seperate VMX domainname argument to 2 parts to enable qemu-dm
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Seperate VMX domainname argument to 2 parts to enable qemu-dm, You, Yongkang <=