[libvirt] [PATCH] qemu: The ppc64 target can run both ppc64 and ppc64le guests

2015-09-15 Thread Andrea Bolognani
When looking for a QEMU binary suitable for running ppc64le guests we have to take into account the fact that we use the QEMU target as key for the hash, so direct comparison is not good enough: normalize everything that can run on the ppc64 target to VIR_ARCH_PPC64 instead. This approach was

Re: [libvirt] [PATCH] qemu: The ppc64 target can run both ppc64 and ppc64le guests

2015-09-15 Thread Daniel P. Berrange
On Tue, Sep 15, 2015 at 01:53:52PM +0200, Andrea Bolognani wrote: > When looking for a QEMU binary suitable for running ppc64le guests > we have to take into account the fact that we use the QEMU target > as key for the hash, so direct comparison is not good enough: > normalize everything that can

Re: [libvirt] [PATCH] qemu: The ppc64 target can run both ppc64 and ppc64le guests

2015-09-15 Thread Andrea Bolognani
On Tue, 2015-09-15 at 13:48 +0100, Daniel P. Berrange wrote: > The virQEMUCapsFindBinaryForArch metho already has a bunch of logic > to > deal with fact that one binary can support multiple different > architectures. For example, x86_64 can support i686. It looks like we > hit the same problem as