From: Ian Campbell <Ian.Campbell@citrix.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: keir@xen.org, ufimtseva@gmail.com,
stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com,
dario.faggioli@citrix.com, ian.jackson@eu.citrix.com,
xen-devel@lists.xen.org, chegger@amazon.com, jbeulich@suse.com,
wei.liu2@citrix.com, Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH v2 4/4] libxl: Add interface for querying hypervisor about PCI topology
Date: Tue, 20 Jan 2015 16:15:32 +0000 [thread overview]
Message-ID: <1421770532.10440.321.camel@citrix.com> (raw)
In-Reply-To: <54BE7C9A.3030802@oracle.com>
On Tue, 2015-01-20 at 11:04 -0500, Boris Ostrovsky wrote:
> On 01/20/2015 10:21 AM, Ian Campbell wrote:
> > On Tue, 2015-01-20 at 10:15 -0500, Boris Ostrovsky wrote:
> >>>> diff --git a/tools/libxl/libxl_linux.c b/tools/libxl/libxl_linux.c
> >>>> index ea5d8c1..07428c0 100644
> >>>> --- a/tools/libxl/libxl_linux.c
> >>>> +++ b/tools/libxl/libxl_linux.c
> >>>> @@ -279,3 +279,74 @@ libxl_device_model_version libxl__default_device_model(libxl__gc *gc)
> >>>> {
> >>>> return LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN;
> >>>> }
> >>>> +
> >>>> +/* These two routines are "inspired" by pciutils */
> >>> "inspired" in a licensing consistent way?
> >> pciutils is licensed under GPL2 (e.g.
> >> http://git.kernel.org/cgit/utils/pciutils/pciutils.git/tree/COPYING) so
> >> this would be consistent.
> > libxl is LGPL 2.1 not GPL2, and I'm afraid transitioning code in that
> > direction is not allowed by the license.
>
> I didn't realize libxl was licensed differently from the rest of Xen.
Lots of the tools side is licensed under the LGPL, I believe the files
all have appropriate headers, and most subdirectories have a suitable
COPYING, but it looks like libxl does not.
> The code is not really coped from them (save for one-line comment) and
> it's kind of hard to write it any differently, given that it's only a
> few lines. The only reason I mentioned it was because I was parsing
> /proc/bus/pci/devices before and while debugging some other problem
> noticed that pciutils was using /sys/bus/pci/devices, which is slightly
> better.
>
> Perhaps I should get in touch with pciutils copyright holder to see if
> he objects.
If you really feel you haven't copied any of their code I don't think
that would be necessary.
Ian.
next prev parent reply other threads:[~2015-01-20 16:15 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 2:18 [PATCH v2 0/4] Display IO topology when PXM data is available Boris Ostrovsky
2015-01-06 2:18 ` [PATCH v2 1/4] pci: Do not ignore device's PXM information Boris Ostrovsky
2015-01-06 11:55 ` Andrew Cooper
2015-01-07 9:01 ` Jan Beulich
2015-01-07 9:06 ` Jan Beulich
2015-01-07 14:42 ` Boris Ostrovsky
2015-01-07 14:47 ` Andrew Cooper
2015-01-07 15:07 ` Jan Beulich
2015-01-07 15:34 ` Boris Ostrovsky
2015-01-07 15:46 ` Jan Beulich
2015-01-07 15:06 ` Jan Beulich
2015-01-07 15:31 ` Boris Ostrovsky
2015-01-07 15:44 ` Jan Beulich
2015-01-06 2:18 ` [PATCH v2 2/4] sysctl: Make XEN_SYSCTL_topologyinfo sysctl a little more efficient Boris Ostrovsky
2015-01-06 13:41 ` Andrew Cooper
2015-01-06 14:45 ` Boris Ostrovsky
2015-01-07 9:12 ` Jan Beulich
2015-01-07 14:45 ` Boris Ostrovsky
2015-01-07 15:09 ` Jan Beulich
2015-01-16 15:56 ` Boris Ostrovsky
2015-01-16 16:06 ` Jan Beulich
2015-01-16 16:14 ` Boris Ostrovsky
2015-01-16 16:20 ` Jan Beulich
2015-01-16 16:34 ` Boris Ostrovsky
2015-01-16 16:42 ` Jan Beulich
2015-01-16 16:16 ` Ian Campbell
2015-01-16 16:34 ` Jan Beulich
2015-01-16 16:38 ` Ian Campbell
2015-01-16 16:45 ` Jan Beulich
2015-01-16 16:57 ` Andrew Cooper
2015-01-16 17:07 ` Boris Ostrovsky
2015-01-19 8:57 ` Jan Beulich
2015-01-19 10:48 ` Ian Campbell
2015-01-07 15:23 ` Jan Beulich
2015-01-19 17:26 ` Ian Campbell
2015-01-06 2:18 ` [PATCH v2 3/4] sysctl: Add sysctl interface for querying PCI topology Boris Ostrovsky
2015-01-06 16:55 ` Wei Liu
2015-01-06 18:15 ` Boris Ostrovsky
2015-01-07 9:21 ` Jan Beulich
2015-01-07 14:55 ` Boris Ostrovsky
2015-01-07 15:17 ` Jan Beulich
2015-01-07 15:54 ` Boris Ostrovsky
2015-01-07 16:52 ` Jan Beulich
2015-01-07 17:55 ` Dario Faggioli
2015-01-08 9:50 ` Jan Beulich
2015-01-08 15:49 ` Boris Ostrovsky
2015-01-08 15:54 ` Jan Beulich
2015-01-06 2:18 ` [PATCH v2 4/4] libxl: Add interface for querying hypervisor about " Boris Ostrovsky
2015-01-06 17:08 ` Wei Liu
2015-01-07 9:04 ` Dario Faggioli
2015-01-07 14:15 ` Boris Ostrovsky
2015-01-07 14:45 ` Dario Faggioli
2015-01-19 17:32 ` Ian Campbell
2015-01-20 10:54 ` Roger Pau Monné
2015-01-20 10:56 ` Ian Campbell
2015-01-20 15:15 ` Boris Ostrovsky
2015-01-20 15:21 ` Ian Campbell
2015-01-20 16:04 ` Boris Ostrovsky
2015-01-20 16:15 ` Ian Campbell [this message]
2015-01-20 16:08 ` Egger, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421770532.10440.321.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=chegger@amazon.com \
--cc=dario.faggioli@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=roger.pau@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=ufimtseva@gmail.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.