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

[Xen-changelog] Fix vnc configuration issue for creating vmx guest.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID a6b72464a0420c7cece60aa52d27106cc35641fe
# Parent  872cf6ee059459d675a73b0cea00e3f9a7443711
Fix vnc configuration issue for creating vmx guest.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 872cf6ee0594 -r a6b72464a042 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Mon Sep 19 16:02:54 2005
+++ b/tools/python/xen/xend/image.py    Tue Sep 20 09:43:29 2005
@@ -300,6 +300,7 @@
         """
         self.parseMemmap()
         self.createDomain()
+        self.dmargs += self.configVNC(sxp.child_value(self.vm.config, 'image'))
 
     def buildDomain(self):
         # Create an event channel
@@ -383,10 +384,13 @@
                instance = sxp.child_value(vtpminfo, 'instance')
                ret.append("-instance")
                ret.append("%s" % instance)
-
+        return ret
+
+    def configVNC(self, config):
         # Handle graphics library related options
         vnc = sxp.child_value(config, 'vnc')
         sdl = sxp.child_value(config, 'sdl')
+        ret = []
         nographic = sxp.child_value(config, 'nographic')
         if nographic:
             ret.append('-nographic')

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