Update license information
cover Update license information
The COPYRIGHT file claims that the kvm-unit-tests is licensed under the LGPL. But effectively, the license for the whole package should be GPL nowadays instead, since some GPL code crept in over the years. So let's update the COPYRIGHT text accordingly and add some more license information to the files that are still missing an explicit license statement.
Thomas Huth (3):
Add LGPL information to some ARM and PPC specific library files
COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Add a copyright/license header for the ARM spinlock test
COPYRIGHT | 10 ++++++++-- arm/spinlock-test.c | 12 ++++++++++++ lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 5 files changed, 36 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.3.1
PATCH 1/3 Add LGPL information to some ARM and PPC specific library files
Some files are still lacking license information, so add the default LGPL statement here to make it clear under which conditions the code can be used.
--- lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 3 files changed, 16 insertions(+)
lib/arm/spinlock.c +6 -0
@@ -1,3 +1,9 @@ +/* +* ARM spinlock implementation +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. +*/ #include <libcflat.h> #include <asm/spinlock.h> #include <asm/barrier.h>
lib/powerpc/processor.c +3 -0
@@ -1,5 +1,8 @@/* * processor control and status function +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. */ #include <libcflat.h>
lib/ppc64/spinlock.c +7 -0
@@ -1,3 +1,10 @@ +/* +* ppc64 (dummy) spinlock implementation +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. +*/ +#include <asm/spinlock.h> void spin_lock (struct spinlock *lock)
Signature · 1 line
1.8.3.1
Re: [kvm-unit-tests PATCH 1/3] Add LGPL information to some ARM and PPC specific library files
Quoted 43 lines · Thomas Huth
Some files are still lacking license information, so add the default LGPL statement here to make it clear under which conditions the code can be used.
Signed-off-by Thomas Huth <[email protected]>--- lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 3 files changed, 16 insertions(+)lib/arm/spinlock.c +6
-0@@ -1,3 +1,9 @@ +/* +* ARM spinlock implementation +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. +*/ #include <libcflat.h> #include <asm/spinlock.h> #include <asm/barrier.h> lib/powerpc/processor.c +3
-0@@ -1,5 +1,8 @@/* * processor control and status function +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. */ #include <libcflat.h> lib/ppc64/spinlock.c +0
-0
lib/ppc64/spinlock.c line 10
Quoted 10 lines
lib/ppc64/spinlock.c +7
-0@@ -1,3 +1,10 @@ +/* +* ppc64 (dummy) spinlock implementation +* +* This code is free software; you can redistribute it and/or modify it +* under the terms of the GNU Library General Public License version 2. +*/ +#include <asm/spinlock.h> void spin_lock (struct spinlock *lock)
PATCH 2/3 COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
In reply to Thomas HuthSome GPL2 code is already in the repository, so this should be taken into account in the COPYRIGHT file, too.
--- COPYRIGHT | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
COPYRIGHT +8 -2
@@ -1,4 +1,10 @@ Copyright (C) 2006 Qumranet. +Copyright (C) 2007-2017 by various contributors (see source files for details) -The files in this directory and its subdirectories are licensed under the -GNU LGPL, version 2. +The kvm-unit-tests are free software; the whole package can be redistributed +and/or modified under the terms of the GNU General Public License version 2 +as published by the Free Software Foundation. + +Many files in this directory and its subdirectories are also licensed under +the less restrictive GNU LGPL, version 2, or other compatible licenses. See +the individual files for details.
Signature · 1 line
1.8.3.1
Re: [kvm-unit-tests PATCH 2/3] COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays
Quoted 16 lines · Thomas Huth
Some GPL2 code is already in the repository, so this should be taken into account in the COPYRIGHT file, too.
Signed-off-by Thomas Huth <[email protected]>--- COPYRIGHT | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)COPYRIGHT +1
-0@@ -1,4 +1,10 @@ Copyright (C) 2006 Qumranet. +Copyright (C) 2007-2017 by various contributors (see source files for details)
COPYRIGHT line 10
Quoted 10 lines
COPYRIGHT +7
-2-The files in this directory and its subdirectories are licensed under the -GNU LGPL, version 2. +The kvm-unit-tests are free software; the whole package can be redistributed +and/or modified under the terms of the GNU General Public License version 2 +as published by the Free Software Foundation. + +Many files in this directory and its subdirectories are also licensed under +the less restrictive GNU LGPL, version 2, or other compatible licenses. See +the individual files for details.
PATCH 3/3 Add a copyright/license header for the ARM spinlock test
In reply to Thomas HuthAccording to the changelog, the code has been taken from the tcg_baremetal_tests from Virtual Open Systems, so we should include the original copyright notice here.
--- arm/spinlock-test.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arm/spinlock-test.c +12 -0
@@ -1,3 +1,15 @@ +/* +* Spinlock test +* +* This code is based on code from the tcg_baremetal_tests. +* +* Copyright (C) 2015 Virtual Open Systems SAS +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ +#include <libcflat.h> #include <asm/smp.h> #include <asm/cpumask.h>
Signature · 1 line
1.8.3.1
Re: [kvm-unit-tests PATCH 3/3] Add a copyright/license header for the ARM spinlock test
Quoted 20 lines · Thomas Huth
According to the changelog, the code has been taken from the
tcg_baremetal_testsfrom Virtual Open Systems, so we should include the original copyright notice here.Signed-off-by Thomas Huth <[email protected]>--- arm/spinlock-test.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)arm/spinlock-test.c +5
-0@@ -1,3 +1,15 @@ +/* +* Spinlock test +* +* This code is based on code from the tcg_baremetal_tests. +*
arm/spinlock-test.c line 15
Quoted 10 lines
arm/spinlock-test.c +7
-0+* Copyright (C) 2015 Virtual Open Systems SAS +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ +#include <libcflat.h> #include <asm/smp.h> #include <asm/cpumask.h>
Quoted 12 lines · Thomas Huth
The COPYRIGHT file claims that the kvm-unit-tests is licensed under the LGPL. But effectively, the license for the whole package should be GPL nowadays instead, since some GPL code crept in over the years. So let's update the COPYRIGHT text accordingly and add some more license information to the files that are still missing an explicit license statement.
Thomas Huth (3):
Add LGPL information to some ARM and PPC specific library files
COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Add a copyright/license header for the ARM spinlock test
Quoted 10 lines
COPYRIGHT | 10 ++++++++-- arm/spinlock-test.c | 12 ++++++++++++ lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 5 files changed, 36 insertions(+), 2 deletions(-)Signature · 1 line
1.8.3.1
For the series
Quoted 12 lines · Thomas Huth
The COPYRIGHT file claims that the kvm-unit-tests is licensed under the LGPL. But effectively, the license for the whole package should be GPL nowadays instead, since some GPL code crept in over the years. So let's update the COPYRIGHT text accordingly and add some more license information to the files that are still missing an explicit license statement.
Thomas Huth (3):
Add LGPL information to some ARM and PPC specific library files
COPYRIGHT: Make it clear that kvm-unit-tests is GPL2 nowadays Add a copyright/license header for the ARM spinlock test
Quoted 7 lines
COPYRIGHT | 10 ++++++++-- arm/spinlock-test.c | 12 ++++++++++++ lib/arm/spinlock.c | 6 ++++++ lib/powerpc/processor.c | 3 +++ lib/ppc64/spinlock.c | 7 +++++++ 5 files changed, 36 insertions(+), 2 deletions(-)
Applied, thanks.
Paolo