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

Re: [Xen-devel] [PATCH 1/5] xen/arm: copy dtb fragment to guest dtb



On Mon, Dec 24, 2018 at 11:17:57AM +0000, Julien Grall wrote:
> (+ Wei and Ian)
> 
> Hi Stefano,
> 
> On 12/5/18 5:28 PM, Stefano Stabellini wrote:
> > Read the dtb fragment corresponding to a passthrough device from memory
> > at the location referred to by the "multiboot,dtb" compatible node.
> > 
> > Copy the fragment to the guest dtb.
> > 
> > Add a dtb_bootmodule field to struct kernel_info to find the dtb
> > fragment for a guest.
> 
> The code below is basically a copy from libxl, right? If so, this should be
> specified in the commit message.
> 
> Also, the license is different in libxl compare to the hypervisor (LGPLv2.1
> vs GPLv2). So is there any issue to copy that code in the hypervisor?

https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility

It appears to be okay -- I was looking at "I want to copy code under:
LGPL v2.1 only" and "I want to license my code under: GPLv2 only". The
resulting license for the copied code is GPLv2.

I have CC'ed Lars and committers@ for more opinions.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.