[libvirt-users] Setting the default Hypervisor

Daniel P. Berrange berrange at redhat.com
Thu Mar 8 13:31:38 UTC 2012


On Thu, Mar 08, 2012 at 02:15:49PM +0100, RaSca wrote:
> Il giorno Gio 08 Mar 2012 13:06:41 CET, Daniel P. Berrange ha scritto:
> [...]
> > Set the following env
> >   export LIBVIRT_DEFAULT_URI=qemu:///system
> > We support a config home $HOME/.libvirt/libvirt.conf for setting up
> > URI aliases, but we don't currently support setting the defautl URI
> > via the config file. If you file a BZ, we can easily fix that
> > omission
> > Regards,
> > Daniel
> 
> Thank you Daniel, it works. What I don't understand is who originally
> set the URI default value. My Installation step where first installing
> virtualbox and then libvirt with qemu-kvm. It was some apt-get post
> script that read from the system the virtualbox installation and then
> sets the executable?
> 
> The point is: where does this value stored? Is it hardcoded somewhere?

No, libvirt just probes each of its hypervisor drivers in turn, until
it finds out that claims to work


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 libvirt-users mailing list