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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [XEND] Fix test for when to record HVM VN

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Fix test for when to record HVM VNC console as a VFB.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2007 14:50:10 -0700
Delivery-date: Fri, 20 Apr 2007 14:49:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1177086750 -3600
# Node ID 23cf7d6c30f43516aab7e2aa87425732474de767
# Parent  6568c1882af50d0cec7b0aa950926c282df2915f
[XEND] Fix test for when to record HVM VNC console as a VFB.
This code may still need more work to properly integrate HVM SDL consoles.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
 tools/python/xen/xend/XendConfig.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6568c1882af5 -r 23cf7d6c30f4 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Fri Apr 20 15:29:11 2007 +0100
+++ b/tools/python/xen/xend/XendConfig.py       Fri Apr 20 17:32:30 2007 +0100
@@ -691,7 +691,7 @@ class XendConfig(dict):
         self['vtpm_refs'] = cfg.get('vtpm_refs', [])
         # coalesce hvm vnc frame buffer with vfb config
-        if self.is_hvm() and self['platform'].get('vnc', 0):
+        if self.is_hvm() and int(self['platform'].get('vnc', 0)) != 0:
             # add vfb device if it isn't there already
             has_rfb = False
             for console_uuid in self['console_refs']:

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND] Fix test for when to record HVM VNC console as a VFB., Xen patchbot-unstable <=