From 310136337c32073621b51b82392956abf7ab9fa2 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 24 Feb 2022 15:53:47 -0500 Subject: [PATCH] guest: Make default graphics arch check more specific We enable default graphics for all of ppc64, but really the only thing we have ever tested is pseries, so make that clear. Signed-off-by: Cole Robinson --- virtinst/guest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/virtinst/guest.py b/virtinst/guest.py index a7b7a28a..5d693e3b 100644 --- a/virtinst/guest.py +++ b/virtinst/guest.py @@ -927,7 +927,8 @@ class Guest(XMLBuilder): return if self.os.is_container() and not self.conn.is_vz(): return - if self.os.arch not in ["x86_64", "i686", "ppc64", "ppc64le"]: + if (not self.os.is_x86() and + not self.os.is_pseries()): return self.add_device(DeviceGraphics(self.conn))