[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@xensource.com>
This commit is contained in:
Tim Deegan committed 2007-04-20 17:32:30 +01:00
1 parent 6d799c5b57
commit 4a80bb4ae3
1 file changed
+1 -1
+1 -1
View File
@@ -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']:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.