[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Virtual box storage and network sub-drivers



On Fri, Aug 15, 2014 at 11:06:18AM +0200, Michal Privoznik wrote:
> Dear list,
> 
> Virtualbox driver has its own implementation of storage and network
> sub-drivers. But as of commit ba5f3c7c8ecc1037e44904916989a1c65777a9d5
> (contained in the 1.0.6 release) when the VBox moved from client to daemon,
> the storage and network sub-drivers are indeed registered but in fact never
> called. It's due to our virConnectOpen function where the general network
> and storage drivers take precedence. So I guess my question is: should we
> drop the VBox sub-drivers or perhaps fix the virConnectOpen function?

It should simply be a matter of changing the order of registration. ie
we want to call vboxRegister before storageRegister, so that the vbox
storage driver is first in the list. The vbox storage driver is written
so it is a no-op unless the primary virt driver is vbox.


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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]