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

[Xen-changelog] [xen-unstable] Fix vncdisplay handling.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID a1441f389dc1b1645a3c95552535d83a7cf79c9c
# Parent  d9f2de16ae5ab52c813d3887001268ea7222c50a
Fix vncdisplay handling.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r d9f2de16ae5a -r a1441f389dc1 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Fri Nov 24 09:42:40 2006 +0000
+++ b/tools/python/xen/xend/image.py    Fri Nov 24 14:05:59 2006 +0000
@@ -377,8 +377,8 @@ class HVMImageHandler(ImageHandler):
             return ret
 
         if vnc:
-            vncdisplay = sxp.child_value(config, 'vncdisplay',
-                                         int(self.vm.getDomid()))
+            vncdisplay = int(sxp.child_value(config, 'vncdisplay',
+                                             self.vm.getDomid()))
 
             vncunused = sxp.child_value(config, 'vncunused')
             if vncunused:

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