[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.0.5-testing] [XEND] Fix test for when to record HVM VNC console as a VFB.
# 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 Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |