[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix domain restore failure when using vncdisplay option



Hi,

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

Thanks,
Kouya

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r b28ae5f00553 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Tue Oct 23 09:26:43 2007 +0100
+++ b/tools/python/xen/xend/image.py    Thu Oct 25 12:49:49 2007 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.