Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio: clarify that ABI is usable by any implementations

We want others to implement and use virtio, so it makes sense to BSD
license the non-__KERNEL__ parts of the headers to make this crystal
clear.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Mark McLoughlin <markmc@redhat.com>
Acked-by: Ryan Harper <ryanh@us.ibm.com>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>

+17 -3
+2
include/linux/virtio_9p.h
··· 1 1 #ifndef _LINUX_VIRTIO_9P_H 2 2 #define _LINUX_VIRTIO_9P_H 3 + /* This header is BSD licensed so anyone can use the definitions to implement 4 + * compatible drivers/servers. */ 3 5 #include <linux/virtio_config.h> 4 6 5 7 /* The ID for virtio console */
+2
include/linux/virtio_balloon.h
··· 1 1 #ifndef _LINUX_VIRTIO_BALLOON_H 2 2 #define _LINUX_VIRTIO_BALLOON_H 3 + /* This header is BSD licensed so anyone can use the definitions to implement 4 + * compatible drivers/servers. */ 3 5 #include <linux/virtio_config.h> 4 6 5 7 /* The ID for virtio_balloon */
+2
include/linux/virtio_blk.h
··· 1 1 #ifndef _LINUX_VIRTIO_BLK_H 2 2 #define _LINUX_VIRTIO_BLK_H 3 + /* This header is BSD licensed so anyone can use the definitions to implement 4 + * compatible drivers/servers. */ 3 5 #include <linux/virtio_config.h> 4 6 5 7 /* The ID for virtio_block */
+3
include/linux/virtio_config.h
··· 1 1 #ifndef _LINUX_VIRTIO_CONFIG_H 2 2 #define _LINUX_VIRTIO_CONFIG_H 3 + /* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so 4 + * anyone can use the definitions to implement compatible drivers/servers. */ 5 + 3 6 /* Virtio devices use a standardized configuration space to define their 4 7 * features and pass configuration information, but each implementation can 5 8 * store and access that space differently. */
+2
include/linux/virtio_console.h
··· 1 1 #ifndef _LINUX_VIRTIO_CONSOLE_H 2 2 #define _LINUX_VIRTIO_CONSOLE_H 3 3 #include <linux/virtio_config.h> 4 + /* This header, excluding the #ifdef __KERNEL__ part, is BSD licensed so 5 + * anyone can use the definitions to implement compatible drivers/servers. */ 4 6 5 7 /* The ID for virtio console */ 6 8 #define VIRTIO_ID_CONSOLE 3
+2
include/linux/virtio_net.h
··· 1 1 #ifndef _LINUX_VIRTIO_NET_H 2 2 #define _LINUX_VIRTIO_NET_H 3 + /* This header is BSD licensed so anyone can use the definitions to implement 4 + * compatible drivers/servers. */ 3 5 #include <linux/virtio_config.h> 4 6 5 7 /* The ID for virtio_net */
+2 -3
include/linux/virtio_pci.h
··· 9 9 * Authors: 10 10 * Anthony Liguori <aliguori@us.ibm.com> 11 11 * 12 - * This work is licensed under the terms of the GNU GPL, version 2 or later. 13 - * See the COPYING file in the top-level directory. 14 - * 12 + * This header is BSD licensed so anyone can use the definitions to implement 13 + * compatible drivers/servers. 15 14 */ 16 15 17 16 #ifndef _LINUX_VIRTIO_PCI_H
+2
include/linux/virtio_rng.h
··· 1 1 #ifndef _LINUX_VIRTIO_RNG_H 2 2 #define _LINUX_VIRTIO_RNG_H 3 + /* This header is BSD licensed so anyone can use the definitions to implement 4 + * compatible drivers/servers. */ 3 5 #include <linux/virtio_config.h> 4 6 5 7 /* The ID for virtio_rng */