mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virt-install: warn user about missing console while installing on arm
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
3e049583cc
commit
ef14f04226
@ -488,10 +488,6 @@ def _show_nographics_warnings(options, guest):
|
||||
return
|
||||
if not options.autoconsole:
|
||||
return
|
||||
if guest.os.is_arm_machvirt():
|
||||
# Later arm kernels figure out console= automatically, so don't
|
||||
# warn about it.
|
||||
return
|
||||
|
||||
if guest.installer.cdrom:
|
||||
logging.warn(_("CDROM media does not print to the text console "
|
||||
@ -520,7 +516,9 @@ def _show_nographics_warnings(options, guest):
|
||||
console_type = serial_arm_arg
|
||||
if guest.get_devices("console")[0].target_type in ["virtio", "xen"]:
|
||||
console_type = hvc_arg
|
||||
if guest.os.is_ppc64():
|
||||
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.
|
||||
return
|
||||
|
||||
if console_type in (options.extra_args or ""):
|
||||
|
Loading…
Reference in New Issue
Block a user