0c76f22ef1
- bnc#633573 - System fail to boot after running several warm reboot tests 22749-vtd-workarounds.patch - Upstream patches from Jan 22744-ept-pod-locking.patch 22777-vtd-ats-fixes.patch 22781-pod-hap-logdirty.patch 22782-x86-emul-smsw.patch 22789-i386-no-x2apic.patch 22790-svm-resume-migrate-pirqs.patch 22816-x86-pirq-drop-priv-check.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=94
20 lines
831 B
Diff
20 lines
831 B
Diff
Index: xen-4.0.2-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
+++ xen-4.0.2-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
@@ -3925,6 +3925,14 @@ class XendDomainInfo:
|
|
if not config.has_key('backend'):
|
|
config['backend'] = "00000000-0000-0000-0000-000000000000"
|
|
|
|
+ if dev_class == 'console':
|
|
+ if not config.has_key('protocol'):
|
|
+ con_type = config.get('type', '')
|
|
+ if con_type == 'vnc':
|
|
+ config['protocol'] = 'rfb'
|
|
+ elif con_type == 'sdl':
|
|
+ config['protocol'] = 'rdp'
|
|
+
|
|
return config
|
|
|
|
def get_dev_property(self, dev_class, dev_uuid, field):
|