From: "Kasai Takanori" Subject: [PATCH] Fix vncdisplay option for HVM domains Date: Fri, 9 Feb 2007 14:12:46 +0900 Message-ID: <02bd01c74c08$f5686f60$dab2220a@VF03007L> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_02BA_01C74C54.5F8EB3E0" 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 List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_02BA_01C74C54.5F8EB3E0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Hi All, When vncdisplay is specified for the configuration file, HVM domain cannot be started. (xen-unstable.hg: cs13835) Configuration file: vncdisplay=7 [root@dom0 conf]# xm cre -f domVTx-100.conf Using config file "./domVTx-100.conf". Error: an integer is required The issue added as follows. - xen-unstable.hg : cs13778 Fix SDL option for HVM domains. This patch is a correction of this issue. Signed-off-by: Takanori Kasai Best Regards, -- Takanori Kasai ------=_NextPart_000_02BA_01C74C54.5F8EB3E0 Content-Type: application/octet-stream; name="fix-python-vncdisplay.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fix-python-vncdisplay.patch" # HG changeset patch=0A= # User kasai.takanori@jp.fujitsu.com=0A= # Date 1170996646 -32400=0A= # Node ID f650b8721b68e6eda6edc4210561a180838aa2e4=0A= # Parent d609929f140809ec1c9a059f2eeaffb7ce56c891=0A= Fix vncdisplay option for HVM domains=0A= =0A= Signed-off-by: Takanori Kasai =0A= =0A= diff -r d609929f1408 -r f650b8721b68 tools/python/xen/xend/image.py=0A= --- a/tools/python/xen/xend/image.py Thu Feb 08 16:52:05 2007 +0000=0A= +++ b/tools/python/xen/xend/image.py Fri Feb 09 13:50:46 2007 +0900=0A= @@ -467,6 +467,7 @@ class HVMImageHandler(ImageHandler):=0A= =0A= if not vnc_config.get('vncunused', 0) and \=0A= vnc_config.get('vncdisplay', 0):=0A= + vncdisplay =3D vnc_config.get('vncdisplay')=0A= ret.append('-vnc')=0A= ret.append(str(vncdisplay))=0A= else:=0A= ------=_NextPart_000_02BA_01C74C54.5F8EB3E0 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 ------=_NextPart_000_02BA_01C74C54.5F8EB3E0--