[libvirt-users] Connecting libvirt to manually compiled QEMU

Eric Blake eblake at redhat.com
Tue Mar 4 21:09:19 UTC 2014


On 03/04/2014 05:12 AM, Asadullah Hussain wrote:
> Hello I have manually compiled a customized qemu (1.4.0) which runs fine on
> its own (create VM etc) but I want to access this qemu through libvirt
> (virt-manager, virsh etc).
> 
> But the libvirt driver only looks into "/usr/bin" for qemu binaries, how
> can I tell libvirt to connect to my qemu which is placed at
> "/home/user/qemu" directory.

Libvirt only looks into precompiled locations (default to /usr/bin) if
you fail to specify an explicit location; but you can force libvirt to
use your version of qemu by specifying the <emulator> element under
<devices> in your domain XML.

-- 
Eric Blake   eblake 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140304/702a7729/attachment.sig>


More information about the libvirt-users mailing list