[libvirt] [PATCH] Fix bogus reporting of KVM support for non-native emulators

Peter Krempa pkrempa at redhat.com
Fri Jan 25 11:14:53 UTC 2013


On 01/25/13 11:48, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> A logic bug meant we reported KVM was possible for every
> architecture, merely based on whether the query-kvm command
> exists. We should instead have been doing it based on whether
> the query-kvm command returns 'present: 1'
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>   src/qemu/qemu_capabilities.c | 15 ++++++++++-----
>   1 file changed, 10 insertions(+), 5 deletions(-)

ACK, these semantics match the qemu docs.

Peter




More information about the libvir-list mailing list