mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-26 17:25:22 +03:00
virt-install: Do not warn about consoles on s390x
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>
This commit is contained in:
parent
648115334d
commit
5bc847ebb0
@ -402,9 +402,9 @@ def _show_nographics_warnings(options, guest, installer):
|
||||
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 []):
|
||||
|
Loading…
Reference in New Issue
Block a user