[virt-manager PATCH 1/2] virt-install: warn user about missing console while installing on arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---

Pushed as trivial.

 virt-install | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/virt-install b/virt-install
index 3656835..e465c46 100755
--- a/virt-install
+++ b/virt-install
@@ -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 ""):
-- 
2.6.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux