[virt-tools-list] [PATCH virt-manager] aarch64: support virt-rhelsa7.1 machine type.

Cole Robinson crobinso at redhat.com
Wed Apr 22 17:03:01 UTC 2015


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 at redhat.com>
> ---
>  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

- Cole




More information about the virt-tools-list mailing list