Re: [libvirt] PATCH: 9/11: Dynamically register storage backends

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

 



On Thu, Oct 30, 2008 at 01:41:45PM +0000, Daniel P. Berrange wrote:
> There is an unfortunate cylic dependancy between the storage_backend.c
> file and all the storage backend implementations due to the statically
> declared table of drivers. This patch addresses the problem by making
> the table of backends dynamically registered. The storage driver will
> thus register each backend explicitly at its startup. The storage_backend.c
> file is thus now completely generic, and has no compile time dep on the
> individual drivers. I should have written it this way in the first
> place :-)

  Yup, sounds right and looks good, +1

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]