mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
[XEND] Fix allocation of fixed VNC ports.
From: MArk Williamson <mark.williamson@cl.cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
5719e608b4
commit
b7e67b038f
1 file changed
+1
-1
@@ -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 ]
|
||||
|
||||