mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
82cd1fd00e
commit
2f7f40357b
1 file changed
+1
-1
@@ -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):
|
||||
|
||||