ia64/xen-unstable

changeset 13252:60e50c65f862

[XEND] Fix allocation of fixed VNC ports.
From: MArk Williamson <mark.williamson@cl.cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Jan 04 10:20:45 2007 +0000 (2007-01-04)
parents bdbfbfdfbd64
children 338ceb7b1f09
files tools/python/xen/xend/server/vfbif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/vfbif.py	Thu Jan 04 10:17:34 2007 +0000
     1.2 +++ b/tools/python/xen/xend/server/vfbif.py	Thu Jan 04 10:20:45 2007 +0000
     1.3 @@ -64,7 +64,7 @@ class VfbifController(DevController):
     1.4              if config.has_key("vncunused"):
     1.5                  args += ["--unused"]
     1.6              elif config.has_key("vncdisplay"):
     1.7 -                args += ["--vncport", "%d" % (5900 + config["vncdisplay"])]
     1.8 +                args += ["--vncport", "%d" % (5900 + int(config["vncdisplay"]))]
     1.9              vnclisten = config.get("vnclisten",
    1.10                                     xen.xend.XendRoot.instance().get_vnclisten_address())
    1.11              args += [ "--listen", vnclisten ]