tcg/LICENSE: Remove no-longer-true statement that TCG is BSD-licensed
PATCH 1/1 tcg/LICENSE: Remove no-longer-true statement that TCG is BSD-licensed
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
LICENSE | 4 ++-- tcg/LICENSE | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 tcg/LICENSE
LICENSE +2 -2
@@ -18,8 +18,8 @@ As of July 2013, contributions under version 2 of the GNU General Public License (and no later version) are only accepted for the following files or directories: bsd-user/, linux-user/, hw/vfio/, hw/xen/xen_pt*. -3) The Tiny Code Generator (TCG) is released under the BSD license - (see license headers in files). +3) The Tiny Code Generator (TCG) is mostly under the BSD license; + but some parts may be GPLv2 (see license headers in files). 4) QEMU is a trademark of Fabrice Bellard.
tcg/LICENSE deleted +0 -3
@@ -1,3 +0,0 @@ -All the files in this directory and subdirectories are released under -a BSD like license (see header in each file). No other license is -accepted.
Signature · 1 line
2.20.1
Quoted 5 lines · Peter Maydell
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think the original idea was to reuse it outside QEMU, for example in TCC (which is LGPLv2.1+) but that was a while ago.
Paolo
Quoted 10 lines · Paolo Bonzini
Quoted 5 lines · Peter Maydell
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think the original idea was to reuse it outside QEMU, for example in TCC (which is LGPLv2.1+) but that was a while ago.
I just downloaded and had a quick look at TCC and its current codegen implementation seems to be entirely unrelated to TCG.
thanks
-- PMM
Quoted 22 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.
Quoted 5 lines
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
r~
Richard Henderson
AppliedQuoted 29 lines · Richard Henderson
Quoted 22 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.Quoted 5 lines
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
Quoted 4 lines
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
Reviewed-by Richard Henderson <[email protected]>
Queued to tcg-next, as I think there's a couple of other things pending.
r~
Quoted 31 lines · Richard Henderson
Quoted 29 lines · Richard Henderson
Quoted 27 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
Quoted 6 lines
Quoted 4 lines
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
Reviewed-by Richard Henderson <[email protected]>Queued to tcg-next, as I think there's a couple of other things pending.
As a licensing issue, I think it would be better to have it on-list for review/comment by interested people for a bit longer than that -- it's not like it really needs to get in before the softfreeze.
thanks
-- PMM
Quoted 9 lines · Peter Maydell
Quoted 1 line · Richard Henderson
Queued to tcg-next, as I think there's a couple of other things pending.
As a licensing issue, I think it would be better to have it on-list for review/comment by interested people for a bit longer than that -- it's not like it really needs to get in before the softfreeze.
It's been pointed out to me also that tcg/*/tcg-target.opc.h are missing a licence/copyright boilerplate header. Since we're removing the "tcg/ is all BSD" note we should add "this file is BSD" to those files at this point.
thanks
-- PMM
(+Ard, Alex)
Quoted 23 lines · Richard Henderson
Quoted 22 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.
Quoted 8 lines
Quoted 5 lines
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
Side comment:
Ard and Alex extracted TCG to run x86 PCIe UEFI option ROMs on aarch64 hardware.
https://github.com/ardbiesheuvel/X86EmulatorPkg
https://kvmforum2017.sched.com/event/Bo0S/qemu-in-uefi-alexander-graf-suse
https://www.youtube.com/watch?v=uxvAH1Q4Mx0
If I remember correctly, they specifically picked a git commit hash that was still purely BSD licensed.
FWIW,
<https://github.com/ardbiesheuvel/X86EmulatorPkg/blob/master/LICENSE> is not any BSD license, so I'm almost surely out of date on that aspect; just wanted to confirm that TCG has been usefully extracted.
Thanks,
Laszlo
Quoted 5 lines
Reviewed-by Richard Henderson <[email protected]>r~
Quoted 45 lines · Laszlo Ersek
(+Ard, Alex)
Quoted 23 lines · Richard Henderson
Quoted 22 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.Quoted 8 lines
Quoted 5 lines
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
Side comment:
Ard and Alex extracted TCG to run x86 PCIe UEFI option ROMs on aarch64 hardware.
https://github.com/ardbiesheuvel/X86EmulatorPkg
https://kvmforum2017.sched.com/event/Bo0S/qemu-in-uefi-alexander-graf-suse
https://www.youtube.com/watch?v=uxvAH1Q4Mx0
Quoted 8 lines
If I remember correctly, they specifically picked a git commit hash that was still purely BSD licensed.
FWIW,
<https://github.com/ardbiesheuvel/X86EmulatorPkg/blob/master/LICENSE> is not any BSD license, so I'm almost surely out of date on that aspect; just wanted to confirm that TCG has been usefully extracted.
This commit has the background info
https://github.com/ardbiesheuvel/X86EmulatorPkg/commit/552c44d2cbc778f3e53d6d3985a8787c7df99733
(uses Alex's working email address)
Quoted 58 lines · Ard Biesheuvel
Quoted 45 lines · Laszlo Ersek
(+Ard, Alex)
Quoted 23 lines · Richard Henderson
Quoted 22 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Remove the LICENSE file, since claiming false information about the license of the code is confusing, and update the main project LICENSE file also to be clearer about the license used by TCG.
Signed-off-by Peter Maydell <[email protected]>---
This patch takes the simple approach of just documenting the de-facto current reality; does anybody want to argue for something else? Other possibilities I guess would be specifically documenting tcg/aarch64 as an accidental exception to the general licensing rule for tcg/, or even trying to get it relicensed.Quoted 8 lines
Quoted 5 lines
Does having tcg/ be BSD-licensed gain the project anything? From my point of view I don't really see it as a cleanly separable module of code -- it's quite tightly integrated with the rest of QEMU, including code in accel/tcg which is variously GPL or LGPL.
I think this is the best solution. I've never been convinced that TCG can usefully be extracted and reused for something else.
Side comment:
Ard and Alex extracted TCG to run x86 PCIe UEFI option ROMs on aarch64 hardware.
https://github.com/ardbiesheuvel/X86EmulatorPkg
https://kvmforum2017.sched.com/event/Bo0S/qemu-in-uefi-alexander-graf-suse
https://www.youtube.com/watch?v=uxvAH1Q4Mx0Quoted 8 lines
If I remember correctly, they specifically picked a git commit hash that was still purely BSD licensed.
FWIW,
<https://github.com/ardbiesheuvel/X86EmulatorPkg/blob/master/LICENSE> is not any BSD license, so I'm almost surely out of date on that aspect; just wanted to confirm that TCG has been usefully extracted.This commit has the background info
https://github.com/ardbiesheuvel/X86EmulatorPkg/commit/552c44d2cbc778f3e53d6d3985a8787c7df99733
Quoted 7 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
This commit message misses the other not-BSD bits of code in tcg/:tcg/tci.c is GPL-2-or-latertcg/tcg-gvec-desc.h, tcg/tcg-op-gvec.[ch], tcg-op-vec.c are LGPL2.1-or-later
Horse has clearly bolted further from the stable than I had first thought.
thanks
-- PMM
Quoted 9 lines · Peter Maydell
Quoted 7 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
Quoted 6 lines
This commit message misses the other not-BSD bits of code in tcg/:
tcg/tci.cis GPL-2-or-latertcg/tcg-gvec-desc.h, tcg/tcg-op-gvec.[ch],tcg-op-vec.care LGPL2.1-or-laterHorse has clearly bolted further from the stable than I had first thought.
No matter what text we put in the top LICENSE file is always going to be rather vague because of the many different licenses scattered across the codebase.
We really ought to make an effort to add SPDX tags to every file in the source tree & have checkpatch.pl enforce that all new files come with SPDX tags too. Identifying licenses for code then becomes a trivial grep.
NB, I'm only suggesting add SPDX /in addition/ to the current license boilerplate, as removing existing boilerplate license text from a file can only be done by agreement with the copyright holder(s).
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 15 lines · Daniel P. Berrangé
Quoted 13 lines · Peter Maydell
Quoted 7 lines · Peter Maydell
Since 2008 the tcg/LICENSE file has not changed: it claims that everything under tcg/ is BSD-licensed.
This is not true and hasn't been true for years: in 2013 we accepted the tcg/aarch64 target code under a GPLv2-or-later license statement. We don't really consider the tcg subdirectory to be a distinct part of QEMU anyway.
This commit message misses the other not-BSD bits of code in tcg/:
tcg/tci.cis GPL-2-or-latertcg/tcg-gvec-desc.h, tcg/tcg-op-gvec.[ch],tcg-op-vec.care LGPL2.1-or-later
Quoted 6 lines
Quoted 2 lines
Horse has clearly bolted further from the stable than I had first thought.
No matter what text we put in the top LICENSE file is always going to be rather vague because of the many different licenses scattered across the codebase.
There's two parts to this:
(1) is what we say in LICENSE what we actually have in practice? (answer: clearly "no")
(2) as a policy, do we want to be stricter about the license for code contributed to tcg/ than to the rest of the codebase? (which is what this patch is trying to flush out answers to)
Quoted 3 lines
We really ought to make an effort to add SPDX tags to every file in the source tree & have checkpatch.pl enforce that all new files come with SPDX tags too. Identifying licenses for code then becomes a trivial grep.
My take on SPDX is still the same as it was last year:
https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg04151.html
thanks
-- PMM
Quoted 7 lines · Peter Maydell
There's two parts to this:
(1) is what we say in LICENSE what we actually have in practice? (answer: clearly "no")
(2) as a policy, do we want to be stricter about the license for code contributed to tcg/ than to the rest of the codebase? (which is what this patch is trying to flush out answers to)
... and from these points of view, your patch is definitely an improvement.
Paolo