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-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Image.py should send 2 new arguments to qemu-dm for setting QEMU window
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 04 Dec 2005 14:20:06 +0000
Delivery-date: Sun, 04 Dec 2005 14:20:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Image.py should send 2 new arguments to qemu-dm for setting QEMU window, Xen patchbot -unstable <=