WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix domain restore failure when using vncdisplay option
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Thu, 25 Oct 2007 13:08:05 +0900
Delivery-date: Wed, 24 Oct 2007 21:08:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix domain restore failure when using vncdisplay option, Kouya Shimura <=