diff --git a/virtinst/capabilities.py b/virtinst/capabilities.py index 167f6131..729fa73f 100644 --- a/virtinst/capabilities.py +++ b/virtinst/capabilities.py @@ -395,7 +395,7 @@ class Domain(object): if not conn.is_test() and not conn.is_qemu(): return None - if capsguest.arch == "ppc64" and "pseries" in self.machines: + if capsguest.arch in ["ppc64", "ppc64le"] and "pseries" in self.machines: return "pseries" if capsguest.arch in ["armv7l", "aarch64"]: if "virt" in self.machines: diff --git a/virtinst/guest.py b/virtinst/guest.py index 9015cb1a..96fdac5f 100644 --- a/virtinst/guest.py +++ b/virtinst/guest.py @@ -614,7 +614,7 @@ class Guest(XMLBuilder): return if self.os.is_container(): return - if self.os.arch not in ["x86_64", "i686", "ppc64", "ia64"]: + if self.os.arch not in ["x86_64", "i686", "ppc64", "ppc64le", "ia64"]: return self.add_device(VirtualGraphics(self.conn)) diff --git a/virtinst/osxml.py b/virtinst/osxml.py index 78b12daf..f9eb9ee5 100644 --- a/virtinst/osxml.py +++ b/virtinst/osxml.py @@ -63,7 +63,7 @@ class OSXML(XMLBuilder): return self.is_arm() and self.machine == "virt" def is_ppc64(self): - return self.arch == "ppc64" + return self.arch == "ppc64" or self.arch == "ppc64le" def is_pseries(self): return self.is_ppc64 and self.machine == "pseries"