mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
[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:
1 parent
6d799c5b57
commit
4a80bb4ae3
1 file changed
+1
-1
@@ -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']:
|
||||
|
||||