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

[Xen-changelog] [xen-unstable] xend hvm: Fix 'monitor=1' handling in domain config file.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1178616083 -3600
# Node ID 3ef0510e44d04eb837ae238203251b969fc45df9
# Parent  4930f0289d0db0efc7127a7f6dc906340ed93b3b
xend hvm: Fix 'monitor=1' handling in domain config file.

Fix wrong python list assignment for "monitor=1". The old assignment
only works when using qemu-dm.debug in configure file.

Signed-off-by: You YongKang <yongkang.you@xxxxxxxxx>
Signed-off-by: Zhang Xin <xing.z.zhang@xxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4930f0289d0d -r 3ef0510e44d0 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Tue May 08 10:17:46 2007 +0100
+++ b/tools/python/xen/xend/image.py    Tue May 08 10:21:23 2007 +0100
@@ -418,7 +418,7 @@ class HVMImageHandler(ImageHandler):
             ret.append('-nographic')
 
         if int(vmConfig['platform'].get('monitor', 0)) != 0:
-            ret.append('-monitor vc')
+            ret = ret + ['-monitor', 'vc']
         return ret
 
     def createDeviceModel(self, restore = False):

_______________________________________________
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®.