ia64/xen-unstable

changeset 16224:f63aba1b5387

xend: fix hvm domain restore failure when using vncdisplay option.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir@xensource.com>
date Thu Oct 25 09:44:11 2007 +0100 (2007-10-25)
parents 0f86492f1a8c
children 5eb7729fcca0
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Thu Oct 25 09:43:42 2007 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Thu Oct 25 09:44:11 2007 +0100
     1.3 @@ -409,7 +409,7 @@ class HVMImageHandler(ImageHandler):
     1.4                                         xenopts().get_vnclisten_address())
     1.5              vncdisplay = vnc_config.get('vncdisplay', 0)
     1.6              ret.append('-vnc')
     1.7 -            ret.append("%s:%d" % (vnclisten, vncdisplay))
     1.8 +            ret.append("%s:%s" % (vnclisten, vncdisplay))
     1.9              
    1.10              if vnc_config.get('vncunused', 0):
    1.11                  ret.append('-vncunused')