[virt-tools-list] [virt-manager PATCH] virt-install: don't report	missing console in extra-args for ppc64
    Pavel Hrdina 
    phrdina at redhat.com
       
    Mon Nov  9 19:02:08 UTC 2015
    
    
  
Kernel for ppc64 automatically enables serial console, there is no need
to report any warning.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1247434
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
Pushed as trivial.
 virt-install | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/virt-install b/virt-install
index d509256..3656835 100755
--- a/virt-install
+++ b/virt-install
@@ -520,6 +520,8 @@ 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():
+        return
 
     if console_type in (options.extra_args or ""):
         return
-- 
2.6.2
    
    
More information about the virt-tools-list
mailing list