debuggers.hg
changeset 6994:a6b72464a042
Fix vnc configuration issue for creating vmx guest.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Tue Sep 20 09:43:29 2005 +0000 (2005-09-20) |
parents | 872cf6ee0594 |
children | f8e7af29daa1 |
files | tools/python/xen/xend/image.py |
line diff
1.1 --- a/tools/python/xen/xend/image.py Mon Sep 19 16:02:54 2005 +0000 1.2 +++ b/tools/python/xen/xend/image.py Tue Sep 20 09:43:29 2005 +0000 1.3 @@ -300,6 +300,7 @@ class VmxImageHandler(ImageHandler): 1.4 """ 1.5 self.parseMemmap() 1.6 self.createDomain() 1.7 + self.dmargs += self.configVNC(sxp.child_value(self.vm.config, 'image')) 1.8 1.9 def buildDomain(self): 1.10 # Create an event channel 1.11 @@ -383,10 +384,13 @@ class VmxImageHandler(ImageHandler): 1.12 instance = sxp.child_value(vtpminfo, 'instance') 1.13 ret.append("-instance") 1.14 ret.append("%s" % instance) 1.15 + return ret 1.16 1.17 + def configVNC(self, config): 1.18 # Handle graphics library related options 1.19 vnc = sxp.child_value(config, 'vnc') 1.20 sdl = sxp.child_value(config, 'sdl') 1.21 + ret = [] 1.22 nographic = sxp.child_value(config, 'nographic') 1.23 if nographic: 1.24 ret.append('-nographic')