From: Keir Fraser Date: Thu, 25 Oct 2007 08:44:11 +0000 (+0100) Subject: xend: fix hvm domain restore failure when using vncdisplay option. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14828^2~60 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=12c3839b0dd9acec6a1525c0b7dc26049553b9fe;p=xen.git xend: fix hvm domain restore failure when using vncdisplay option. Signed-off-by: Kouya Shimura --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 16e842bddd..2cb18fef53 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -409,7 +409,7 @@ class HVMImageHandler(ImageHandler): xenopts().get_vnclisten_address()) vncdisplay = vnc_config.get('vncdisplay', 0) ret.append('-vnc') - ret.append("%s:%d" % (vnclisten, vncdisplay)) + ret.append("%s:%s" % (vnclisten, vncdisplay)) if vnc_config.get('vncunused', 0): ret.append('-vncunused')