Skip to contentSkip to conversation

Fix domain restore failure when using vncdisplay option

PATCH New Kouya Shimura 1 participant 1 message Oct 25, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix domain restore failure when using vncdisplay option

Hi,

This patch fixes hvm domain restore failure when using vncdisplay option.

Thanks,
Kouya

tools/python/xen/xend/image.py +1 -1
diff -r b28ae5f00553 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')

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel