direct-io.hg

changeset 15017:3ef0510e44d0

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>
author kfraser@localhost.localdomain
date Tue May 08 10:21:23 2007 +0100 (2007-05-08)
parents 4930f0289d0d
children 03b8e82b4a77 d7303c4a9dab
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Tue May 08 10:17:46 2007 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Tue May 08 10:21:23 2007 +0100
     1.3 @@ -418,7 +418,7 @@ class HVMImageHandler(ImageHandler):
     1.4              ret.append('-nographic')
     1.5  
     1.6          if int(vmConfig['platform'].get('monitor', 0)) != 0:
     1.7 -            ret.append('-monitor vc')
     1.8 +            ret = ret + ['-monitor', 'vc']
     1.9          return ret
    1.10  
    1.11      def createDeviceModel(self, restore = False):