aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-05-08 10:21:23 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-05-08 10:21:23 +0100
commit2f7f40357b5f68b0bb278d72c82bf4f4fa0aede7 (patch)
tree79c384ec845ac764f131defd5058125ac6056b9c
parent82cd1fd00ef30c51c981a5d0a7735063370054a5 (diff)
downloadxen-2f7f40357b5f68b0bb278d72c82bf4f4fa0aede7.tar.gz
xen-2f7f40357b5f68b0bb278d72c82bf4f4fa0aede7.tar.bz2
xen-2f7f40357b5f68b0bb278d72c82bf4f4fa0aede7.zip
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@intel.com> Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
-rw-r--r--tools/python/xen/xend/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py
index d1ea10fe0c..bec78012e0 100644
--- a/tools/python/xen/xend/image.py
+++ b/tools/python/xen/xend/image.py
@@ -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):