Robert P. J. Day
2013-Dec-14 17:34 UTC
[libvirt-users] is qemu-kvm really searched for in /usr/bin for KVM?
reading KVM/QEMU hypervisor driver page here: http://libvirt.org/drvqemu.html and one reads, "KVM hypervisor: The driver will probe /usr/bin for the presence of qemu-kvm ...". on my RHEL 6.5 system, qemu-kvm is in /usr/libexec, not /usr/bin. am i misreading something? rday
Kashyap Chamarthy
2013-Dec-14 21:08 UTC
Re: [libvirt-users] is qemu-kvm really searched for in /usr/bin for KVM?
On 12/14/2013 06:34 PM, Robert P. J. Day wrote:> reading KVM/QEMU hypervisor driver page here: > > http://libvirt.org/drvqemu.html > > and one reads, "KVM hypervisor: The driver will probe /usr/bin > for the presence of qemu-kvm ...". on my RHEL 6.5 system, > qemu-kvm is in /usr/libexec, not /usr/bin.That's expected behaviour: on RHEL and its derivatives, the qemu-kvm binary is located in /usr/libexec If you print the contents of your guest XML: $ virsh dumpxml vm | grep emulator you'd notice the <emulator> attribute reflects /usr/libexec location. -- /kashyap
Eric Blake
2013-Dec-16 17:15 UTC
Re: [libvirt-users] is qemu-kvm really searched for in /usr/bin for KVM?
On 12/14/2013 10:34 AM, Robert P. J. Day wrote:> reading KVM/QEMU hypervisor driver page here: > > http://libvirt.org/drvqemu.html > > and one reads, "KVM hypervisor: The driver will probe /usr/bin > for the presence of qemu-kvm ...". on my RHEL 6.5 system, > qemu-kvm is in /usr/libexec, not /usr/bin. am i misreading > something?If you'd like to propose a doc patch to mention that the probe covers several common installation directories, rather than just /usr/bin, that would be nice. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Robert P. J. Day
2013-Dec-16 18:54 UTC
Re: [libvirt-users] is qemu-kvm really searched for in /usr/bin for KVM?
Quoting Eric Blake <eblake@redhat.com>:> On 12/14/2013 10:34 AM, Robert P. J. Day wrote: >> reading KVM/QEMU hypervisor driver page here: >> >> http://libvirt.org/drvqemu.html >> >> and one reads, "KVM hypervisor: The driver will probe /usr/bin >> for the presence of qemu-kvm ...". on my RHEL 6.5 system, >> qemu-kvm is in /usr/libexec, not /usr/bin. am i misreading >> something? > > If you'd like to propose a doc patch to mention that the probe covers > several common installation directories, rather than just /usr/bin, that > would be nice.if someone wants to tackle that, i'm kind of in the middle of working my way through one of the other RHEL manuals at the moment, and my brain is melting down. rday