[virt-tools-list] How to make virt-manager targets the correct qemu emulators

Daniel P. Berrange berrange at redhat.com
Thu Jun 25 08:47:26 UTC 2015


On Thu, Jun 25, 2015 at 01:34:32AM +0000, Gabriel Laupre wrote:
> Hello,
> 
> I have an old version of qemu installed under the path /usr/bin/. I am
> using a Centos 7 machine.
> I just got the last qemu code and made some modifications, recompiled it
> and I have my qemu emulators under /usr/local/bin.
> 
> When I launch the virt-manager, it seems that it targets the old one under
> /usr/bin/ and I want to change that the virt-manager will use my new one
> under /usr/local/bin.
> 
> Where can I specify this information?

virt-manager relies on libvirt to tell it which emulator to use by
default. Libvirt search $PATH for emulators. So you need to make
sure your /usr/local/bin appears before /usr/bin in the $PATH seen
by libvirtd.


Regards,
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 :|




More information about the virt-tools-list mailing list