05bedd5488
named ext" xm-create-xflag.patch - Fix xen-utils to cope with xen-unstable c/s 21483 - xz-devel is available since 11.2, make it optional for SLES11SP1 - bnc#665610 - xm console > 1 to same VM messes up both consoles Upstream rejected due to portability concern, see http://lists.xensource.com/archives/html/xen-devel/2011-02/msg00942.html xenconsole-no-multiple-connections.patch - Enable support for kernel decompression for gzip, bzip2, and LZMA so that kernels compressed with any of these methods can be launched. - Update to Xen 4.1.0 c/s 22861 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=102
20 lines
831 B
Diff
20 lines
831 B
Diff
Index: xen-4.1.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
===================================================================
|
|
--- xen-4.1.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
+++ xen-4.1.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
|
@@ -3934,6 +3934,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):
|