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

Jiri Denemark jdenemar at redhat.com
Mon Jul 16 09:56:31 UTC 2012


On Fri, Jul 13, 2012 at 09:19:42 -0600, Eric Blake wrote:
> 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.

Pushed, thanks.

Jirka




More information about the libvir-list mailing list