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

[Xen-changelog] [xen-unstable] [XEND] Fix allocation of fixed VNC ports.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1167906045 0
# Node ID 60e50c65f862ba8035441352c44019d117996948
# Parent  bdbfbfdfbd64ddedc775d55f1a9e842847fea7b2
[XEND] Fix allocation of fixed VNC ports.
From: MArk Williamson <mark.williamson@xxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/vfbif.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r bdbfbfdfbd64 -r 60e50c65f862 tools/python/xen/xend/server/vfbif.py
--- a/tools/python/xen/xend/server/vfbif.py     Thu Jan 04 10:17:34 2007 +0000
+++ b/tools/python/xen/xend/server/vfbif.py     Thu Jan 04 10:20:45 2007 +0000
@@ -64,7 +64,7 @@ class VfbifController(DevController):
             if config.has_key("vncunused"):
                 args += ["--unused"]
             elif config.has_key("vncdisplay"):
-                args += ["--vncport", "%d" % (5900 + config["vncdisplay"])]
+                args += ["--vncport", "%d" % (5900 + 
int(config["vncdisplay"]))]
             vnclisten = config.get("vnclisten",
                                    
xen.xend.XendRoot.instance().get_vnclisten_address())
             args += [ "--listen", vnclisten ]

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