[libvirt] libvirt qemu-kvm installation into custom directories

I am configuring upstream libvirt, qemu-kvm for development purpose in non-default directories. I want my upstream libvirt installation to use upstream qemu-kvm (and not the qemu-kvm supplied by the distro). How can I make libvirt to use this qemu-kvm for guest installations ? The Host contains other libvirt/qemu-kvm supplied by-default by the distro which I am not running but which I *do not* want to disturb. Please give me some pointers as to to do this. -- Onkar

On Mon, Sep 24, 2012 at 03:08:38PM +0530, Onkar N Mahajan wrote:
I am configuring upstream libvirt, qemu-kvm for development purpose in non-default directories. I want my upstream libvirt installation to use upstream qemu-kvm (and not the qemu-kvm supplied by the distro). How can I make libvirt to use this qemu-kvm for guest installations ? The Host contains other libvirt/qemu-kvm supplied by-default by the distro which I am not running but which I *do not* want to disturb. Please give me some pointers as to to do this.
If you want libvirt to automatically use your custom QEMU, then all you need todo is make sure the custom install location is included in $PATH, when starting libvirtd. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Mon, Sep 24, 2012 at 03:08:38PM +0530, Onkar N Mahajan wrote:
I am configuring upstream libvirt, qemu-kvm for development purpose in non-default directories.
Not in answer to your later question, but I'd also suggest looking at and using the ./run script in the top-level libvirt directory. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
participants (3)
-
Daniel P. Berrange
-
Onkar N Mahajan
-
Richard W.M. Jones