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

Re: [libvirt] [PATCH 1/2] (Updated & fixed) OpenNebula driver, libvirt-0.6.2



On Wed, May 20, 2009 at 04:07:12PM +0200, "Abel Míguez Rodríguez" wrote:
> 
> > On Wed, May 20, 2009 at 11:32:18AM +0100, Daniel P. Berrange wrote:
[...]
> > > > Here is the One driver & patches for the current git's 
[...]
> > > My inclination at this point is to merge the driver and then 
> > we can do 
> > > incremental patches to fix further problems as they arise.
> > 
> >   Agreed, unless Abel has a newer version to submit, I'm 
> > inclined to
> > push it before the end of the week,
> > 
> 
> Hi,
> This version is right to submit. 
> I agree, after merged, any further modification needed will be solved by patches.
> Related with Daniel's question, we will submit a patch to populate the running VM list at libvirt's startup.

  Okay, I have commited the current set. There is however a few things
to look at relatively quickly in my opinion:
  - we don't build the driver by default, this is a bit against the rule
    we should fix this
  - but the build depends on the ONE development environment to be
    present, for example OneClient.h header
  - another thing to note is that OpenNebula seems to be released under
    the Apache-2.0 Licence, which is not a problem for tyhe LGPL, but
    may become a problem within qemud if we link it against a GPL (v2?)
    library coming from another driver.

So I think we should look at improving configure.in to try to locate
$ONE_LOCATION/include/OneClient.h with ONE_LOCATION coming either from
the environment, or from --with-one[=DIR] optional directory location or
from a predefined set of locations.
Right now the driver is disabled and ONE_LOCATION is assumed from
configure, but that really need to be fixed IMHO.

For the Licencing problem, it's a bit tricky, is OpenNebula released
only as Apache-2.0 ? If yes, then maybe at configure time a check should
also been made to avoid drivers under GPL and OpenNebula to be built
together. It's a bit of a pain, and hopefully I get this wrong, but I'm
afraid otherwise we would be in Licence violation of the GPL2 drivers
(if any are configured in, I  think we have one but I can't remember
which one right now).

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]