xen/13775_xenapi.patch

25 lines
921 B
Diff

# HG changeset patch
# User Ewan Mellor <ewan@xensource.com>
# Date 1170343822 0
# Node ID 868babf6b1dd2b196de7fea6a158365a0e63675c
# Parent d34d43fb88ae23e78ea90048d6c20a7255193836
Fix HVM save/restore wrt console handling.
From Tim Deegan <Tim.Deegan@xensource.com>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
diff -r d34d43fb88ae -r 868babf6b1dd tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py Thu Feb 01 15:03:55 2007 +0000
+++ b/tools/python/xen/xend/XendConfig.py Thu Feb 01 15:30:22 2007 +0000
@@ -679,6 +679,9 @@ class XendConfig(dict):
if self['devices'][console_uuid][1].get('protocol') == 'rfb':
has_rfb = True
break
+ if self['devices'][console_uuid][0] == 'vfb':
+ has_rfb = True
+ break
if not has_rfb:
dev_config = ['vfb']