Cole Robinson <crobinso@xxxxxxxxxx> writes: > On 04/22/2015 12:49 PM, Giuseppe Scrivano wrote: >> Just check for the prefix of the machine type, as it is done for ARM >> vexpress. >> >> Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1212021 >> >> Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx> >> --- >> virtinst/osxml.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/virtinst/osxml.py b/virtinst/osxml.py >> index 77643dd..77771bd 100644 >> --- a/virtinst/osxml.py >> +++ b/virtinst/osxml.py >> @@ -64,7 +64,7 @@ class OSXML(XMLBuilder): >> def is_arm_vexpress(self): >> return self.is_arm() and str(self.machine).startswith("vexpress-") >> def is_arm_machvirt(self): >> - return self.is_arm() and self.machine == "virt" >> + return self.is_arm() and str(self.machine).startswith("virt") >> >> def is_ppc64(self): >> return self.arch == "ppc64" or self.arch == "ppc64le" >> > > ACK thanks, pushed now. Giuseppe _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list