2015-09-11 00:13:47 +02:00
|
|
|
Reference: bnc#869024
|
|
|
|
Disable graphics on s390x
|
2019-07-05 18:18:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtinst/guest.py
|
2015-09-11 00:13:47 +02:00
|
|
|
===================================================================
|
2019-07-05 18:18:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtinst/guest.py
|
|
|
|
+++ virt-manager-2.2.1/virtinst/guest.py
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -225,7 +225,10 @@ class Guest(XMLBuilder):
|
2015-09-11 00:13:47 +02:00
|
|
|
self.skip_default_channel = False
|
|
|
|
self.skip_default_sound = False
|
|
|
|
self.skip_default_usbredir = False
|
|
|
|
- self.skip_default_graphics = False
|
|
|
|
+ if self.os.is_s390x():
|
|
|
|
+ self.skip_default_graphics = True
|
|
|
|
+ else:
|
|
|
|
+ self.skip_default_graphics = False
|
2017-03-09 20:10:48 +01:00
|
|
|
self.skip_default_rng = False
|
2019-07-05 18:18:33 +02:00
|
|
|
self.disable_default_memballoon = False
|
2018-10-30 23:00:52 +01:00
|
|
|
self.x86_cpu_default = self.cpu.SPECIAL_MODE_APP_DEFAULT
|
2019-07-05 18:18:33 +02:00
|
|
|
@@ -480,7 +483,7 @@ class Guest(XMLBuilder):
|
2018-10-30 23:00:52 +01:00
|
|
|
if not os_support:
|
|
|
|
return False
|
|
|
|
|
|
|
|
- if self.os.is_x86():
|
|
|
|
+ if self.os.is_x86() or self.os.is_s390x():
|
|
|
|
return True
|
|
|
|
|
|
|
|
return False
|
2019-08-27 22:01:01 +02:00
|
|
|
@@ -864,7 +867,7 @@ class Guest(XMLBuilder):
|
2015-09-11 00:13:47 +02:00
|
|
|
self.add_device(dev)
|
|
|
|
|
2018-10-30 23:00:52 +01:00
|
|
|
def _add_default_video_device(self):
|
2015-09-11 00:13:47 +02:00
|
|
|
- if self.os.is_container():
|
|
|
|
+ if self.os.is_container() or self.os.is_s390x():
|
|
|
|
return
|
2018-10-30 23:00:52 +01:00
|
|
|
if self.devices.video:
|
2015-09-11 00:13:47 +02:00
|
|
|
return
|