[libvirt] [PATCHv1 5/7] qemu_capabilities: Find QEMU binary for S390 arch

Jiri Denemark jdenemar at redhat.com
Thu May 17 20:41:07 UTC 2018


On Sat, May 05, 2018 at 12:48:47 -0500, Chris Venteicher wrote:
> S390 uses qemu-kvm in /usr/libexec.

That's incorrect, /usr/libexec/qemu-kvm is the native binary on
RHEL/CentOS. That is it's arch matches host arch.

> ---
>  src/qemu/qemu_capabilities.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> index 9ffbf91a90..ac7569679c 100644
> --- a/src/qemu/qemu_capabilities.c
> +++ b/src/qemu/qemu_capabilities.c
> @@ -687,6 +687,11 @@ virQEMUCapsFindBinaryForArch(virArch hostarch,
>              goto out;
>      }
>  
> +    /* Fourth attempt: try 'qemu-kvm' */
> +    if ((ret = virQEMUCapsFindBinary("%s", "/usr/libexec/qemu-kvm")) != NULL)
> +        goto out;
> +
> +
>   out:
>      return ret;
>  }

NACK, this is handled elsewhere.




More information about the libvir-list mailing list