[libvirt] [PATCH] qemu: Fix probing for guest capabilities

Eric Blake eblake at redhat.com
Fri Jul 13 15:19:42 UTC 2012


On 07/13/2012 09:00 AM, Jiri Denemark wrote:
> Even though qemu-kvm binaries can be used in TCG mode, libvirt would
> only detect them if /dev/kvm was available. Thus, one would need to make
> a /usr/bin/qemu symlink to be able to use TCG mode with qemu-kvm in an
> environment without KVM support.
> 
> And even though QEMU is able to make use of KVM, libvirt would not
> advertise KVM support unless there was a qemu-kvm symlink available.
> 
> This patch fixes both issues.
> ---
>  src/qemu/qemu_capabilities.c | 95 ++++++++++++++++++++++++--------------------
>  1 file changed, 53 insertions(+), 42 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120713/64de69c1/attachment-0001.sig>


More information about the libvir-list mailing list