Comment 2 for bug 1157272

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The getDefaultURI function in libvirt first checks

LIBVIRT_DEFAULT_URI

in your environment, then checks

uri_default

in /etc/libvirt/libvirt.conf (which we have commented out by default).

If neither of those is set, then get_default_uri will simply return (I assume) the first one to have been registered.

I'm not sure whether we want to uncomment the default in libvirt.conf (probably not, as lbivirt doesn't depend on qemu), or change the order so that libvirt makes sure to register kvm over vbox if available (and if no other preference is marked).

Or if we want to accept it as it is.