On 03/07/2016 02:33 PM, Programmingkid wrote:
>> If you don't have a strong license preference, then there are plenty of
>> GPLv2+ files you can copy from:
>>
>> $ git grep -l 'GPL, version 2 or' | wc -l
>> 482
> 
> Rather than place the whole license agreement in the file, could I just say 
> this:
> 
> This code is licensed under the GNU GPL v2.

No, because that is GPLv2-only, not GPLv2+.  The "or later" clause is an
important distinction (it determines whether your code can be copied
into a GPLv3+ project), and we've declared that no new files should be
GPLv2-only unless they are copied from a pre-existing project (such as
the Linux kernel) under that restriction, so that at least the rest of
qemu is usable in GPLv3 (even while qemu itself must remain GPLv2).

But if you're asking if you can use the two-liner present in
block/null.c (among other places), sure:

 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to