From: Kouya Shimura Subject: [PATCH] Fix domain restore failure when using vncdisplay option Date: Thu, 25 Oct 2007 13:08:05 +0900 Message-ID: <7kejfj4z16.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oLO09FJ6f+" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --oLO09FJ6f+ Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Hi, This patch fixes hvm domain restore failure when using vncdisplay option. Thanks, Kouya Signed-off-by: Kouya Shimura --oLO09FJ6f+ Content-Type: text/plain Content-Disposition: inline; filename="fix_restore.patch" Content-Transfer-Encoding: 7bit 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') --oLO09FJ6f+ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --oLO09FJ6f+--