From: Jim Fehlig Subject: [PATCH] Add 'type vnc' to vfb device sexpr for HVM guest Date: Mon, 10 Sep 2007 15:07:00 -0600 Message-ID: <46E5B1F4.7010308@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040803020106050600050006" 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 This is a multi-part message in MIME format. --------------040803020106050600050006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This patch adds 'type vnc' to vfb device sexpr for HVM guests. PV guests already contain this entry in sexpr, e.g. (device (vfb (vncunused 1) ... (type vnc) ... ) ) Some tools, such as libvirt, look for device/vfb/type in sexpr before publishing VNC port. More importantly, this patch provides consistency in vfb device sexpr between HVM and PV guests. Signed-off-by: Jim Fehlig Regards, Jim --------------040803020106050600050006 Content-Type: text/x-patch; name="hvm_vnc.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hvm_vnc.diff" diff -r 9071521d4864 tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Fri Sep 07 11:39:10 2007 +0100 +++ b/tools/python/xen/xend/XendConfig.py Fri Sep 07 17:17:30 2007 -0600 @@ -752,6 +752,7 @@ class XendConfig(dict): if not has_rfb: dev_config = ['vfb'] + dev_config.append(['type', 'vnc']) # copy VNC related params from platform config to vfb dev conf for key in ['vncpasswd', 'vncunused', 'vncdisplay', 'vnclisten']: --------------040803020106050600050006 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 --------------040803020106050600050006--