]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
vbox: Register per partes
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Aug 2014 09:37:52 +0000 (11:37 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 27 Aug 2014 06:05:25 +0000 (08:05 +0200)
commitdbb4cbf532fa02a5e0ef359edace1eb559510e4e
tree9c2242911626e1b994c85f5a380959744fc326f4
parent27d59ab7cd5ccf31ae324c918933f53cac13fcaa
vbox: Register per partes

Since times when vbox moved to the daemon (due to some licensing
issue) the subdrivers that vbox implements were registered, but not
opened since our generic subdrivers took priority. I've tried to fix
this in 65b7d553f39ff9 but it was not correct. Apparently moving
vbox driver registration upfront changes the default connection URI
which makes some users sad. So, this commit breaks vbox into pieces
and register vbox's network and storage drivers first, and vbox driver
then at the end. This way, the vbox driver is registered in the order
it always was, but its subdrivers are registered prior the generic
ones.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
daemon/libvirtd.c
libvirt.spec.in
src/Makefile.am
src/vbox/vbox_driver.c
src/vbox/vbox_driver.h