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 <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-02-24 15:53:47 -05:00
parent 1d9aed678e
commit 310136337c
1 changed files with 2 additions and 1 deletions

View File

@ -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))