qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevic


From: Paul Durrant
Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and 'XenDevice' object hierarchy
Date: Wed, 28 Nov 2018 16:45:31 +0000

> -----Original Message-----
> From: Kevin Wolf [mailto:address@hidden
> Sent: 28 November 2018 16:39
> To: Paul Durrant <address@hidden>
> Cc: 'Stefano Stabellini' <address@hidden>; address@hidden;
> address@hidden; address@hidden; Eduardo Habkost
> <address@hidden>; Michael S. Tsirkin <address@hidden>; Marcel
> Apfelbaum <address@hidden>; Anthony Perard
> <address@hidden>; Paolo Bonzini <address@hidden>; Richard
> Henderson <address@hidden>
> Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus' and
> 'XenDevice' object hierarchy
> 
> Am 28.11.2018 um 17:29 hat Paul Durrant geschrieben:
> > > -----Original Message-----
> > > From: Stefano Stabellini [mailto:address@hidden
> > > Sent: 28 November 2018 16:28
> > > To: Paul Durrant <address@hidden>
> > > Cc: 'Kevin Wolf' <address@hidden>; address@hidden; qemu-
> > > address@hidden; address@hidden; Stefano Stabellini
> > > <address@hidden>; Eduardo Habkost <address@hidden>;
> Michael
> > > S. Tsirkin <address@hidden>; Marcel Apfelbaum
> > > <address@hidden>; Anthony Perard
> <address@hidden>;
> > > Paolo Bonzini <address@hidden>; Richard Henderson
> <address@hidden>
> > > Subject: RE: [Qemu-block] [PATCH 02/18] xen: introduce new 'XenBus'
> and
> > > 'XenDevice' object hierarchy
> > >
> > > On Wed, 28 Nov 2018, Paul Durrant wrote:
> > > > > -----Original Message-----
> > > > > From: Kevin Wolf [mailto:address@hidden
> > > > > Sent: 28 November 2018 16:19
> > > > > To: Paul Durrant <address@hidden>
> > > > > Cc: address@hidden; address@hidden; xen-
> > > > > address@hidden; Stefano Stabellini
> > > <address@hidden>;
> > > > > Eduardo Habkost <address@hidden>; Michael S. Tsirkin
> > > > > <address@hidden>; Marcel Apfelbaum <address@hidden>;
> > > Anthony
> > > > > Perard <address@hidden>; Paolo Bonzini
> > > <address@hidden>;
> > > > > Richard Henderson <address@hidden>
> > > > > Subject: Re: [Qemu-block] [PATCH 02/18] xen: introduce new
> 'XenBus'
> > > and
> > > > > 'XenDevice' object hierarchy
> > > > >
> > > > > Am 21.11.2018 um 16:11 hat Paul Durrant geschrieben:
> > > > > > This patch adds the basic boilerplate for a 'XenBus' object that
> > > will
> > > > > act
> > > > > > as a parent to 'XenDevice' PV backends.
> > > > > > A new 'XenBridge' object is also added to connect XenBus to the
> > > system
> > > > > bus.
> > > > > >
> > > > > > The XenBus object is instantiated by a new xen_bus_init()
> function
> > > > > called
> > > > > > from the same sites as the legacy xen_be_init() function.
> > > > > >
> > > > > > Subsequent patches will flesh-out the functionality of these
> > > objects.
> > > > > >
> > > > > > Signed-off-by: Paul Durrant <address@hidden>
> > > > >
> > > > > > diff --git a/hw/xen/xen-bus.c b/hw/xen/xen-bus.c
> > > > > > new file mode 100644
> > > > > > index 0000000000..dede2d914a
> > > > > > --- /dev/null
> > > > > > +++ b/hw/xen/xen-bus.c
> > > > > > @@ -0,0 +1,125 @@
> > > > > > +/*
> > > > > > + * Copyright (c) Citrix Systems Inc.
> > > > > > + * All rights reserved.
> > > > > > + */
> > > > >
> > > > > This doesn't look very compatible with the GPL. In fact it might
> even
> > > > > make it illegal for the QEMU project to distribute this code. :-)
> > > > >
> > > > > Other files you add throughout the series seem to have the same
> > > problem.
> > > > >
> > > >
> > > > I was working on the assumption that a lack of explicit license
> meant
> > > that the overall project license as described in item 2 in LICENSE.
> Did I
> > > misinterpret that text?
> > >
> > > It's "All rights reserved." the problem
> >
> > Oh, I see. I'm happy to remove that.
> 
> That would be better at least. I'm not sure about files that have a
> copyright header, but no license statement. Do such files exist yet in
> the source tree?

Yes, there's quite a few... e.g. (first ones I tripped over) 
hw/rdma/rdma_backend.c, hw/virtio/vhost-backend.c, ... 

> To be on the safe side, I'd just stick with the
> established practice, which is having a license header in every file.

Ok... if that is established practice. It really wasn't clear.

> 
> By the way, in a later patch you remove the existing license header,
> which is different from the default license (because parts of the source
> file are GPL 2 only). If you can't prove that all such parts (and parts
> derived from them) have been removed, this is also a problem.
> 

What should I do? I am duplicating xen_disk, and then heavily modifying it. 
Should I just leave the old boilerplate in place?

  Paul

> Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]