[libvirt] [PATCH] qemu: Add conditions for qemu-kvm use on ppc64

Andrea Bolognani abologna at redhat.com
Thu Oct 1 15:20:25 UTC 2015

On Thu, 2015-10-01 at 17:00 +0200, Jiri Denemark wrote:
> I wonder if this case shouldn't somehow fall into the hostarch ==
> guestarch case, via something like
> native_kvm = ARCH_CANONICAL(hostarch) == ARCH_CANONICAL(guestarch),
> but
> probably not since it maybe non-trivial (and depending on the actual
> usage) what a canonical architecture would be for every given
> architecture we support.

I doubt something like ARCH_CANONICAL() could ever be implemented,
but I'm all for cleaning up the current logic and moving it to
a single place for easier maintenance.

virQEMUCapsFindTarget() can be considered a first step in that
direction. A lot more work is still needed, though.

> In other words, ACK :-)

Thanks :)

Andrea Bolognani
Software Engineer - Virtualization Team

More information about the libvir-list mailing list