virt-manager/5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
Charles Arnold 6471f89f17 - bsc#1126325 - L3: No way to set max_grant_frames for domUs via
libvirt
  8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
- bsc#1129176 - SLES 12 SP4 - kvm virt-install using ttyS0 leads to
  user process fault and interrupts installation (virt-manager) 
  5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch

- bsc#1129309 - Missing .treeinfo file on the media for CaaSP
  virtinst-add-caasp-support.patch

- Add detection for Caasp 4.0
  virtinst-media-detection.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=463
2019-03-25 16:16:57 +00:00

31 lines
1.3 KiB
Diff

Subject: virt-install: Do not warn about consoles on s390x
From: Christian Borntraeger borntraeger@de.ibm.com Thu Mar 14 09:50:11 2019 +0100
Date: Thu Mar 14 18:21:51 2019 +0100:
Git: 5bc847ebb032864bb20859c98660e85b5a0b50f2
s390x guests usually detect the sclp or virtio console. The current
warning might actually break setups. Let us disable the warning.
Reported-by: Andre Wild <wild1@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Index: virt-manager-2.1.0/virt-install
===================================================================
--- virt-manager-2.1.0.orig/virt-install
+++ virt-manager-2.1.0/virt-install
@@ -432,9 +432,9 @@ def _show_nographics_warnings(options, g
console_type = serial_arm_arg
if guest.devices.console[0].target_type in ["virtio", "xen"]:
console_type = hvc_arg
- if guest.os.is_ppc64() or guest.os.is_arm_machvirt():
- # Later arm/ppc kernels figure out console= automatically, so don't
- # warn about it.
+ if guest.os.is_ppc64() or guest.os.is_arm_machvirt() or guest.os.is_s390x():
+ # Later arm/ppc/s390x kernels figure out console= automatically, so
+ # don't warn about it.
return
for args in (options.extra_args or []):