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

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



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 veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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