[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 02/17] include: import virtio headers from li
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH v2 02/17] include: import virtio headers from linux 4.0 |
Date: |
Mon, 16 Feb 2015 17:03:16 +0100 |
On Sun, 15 Feb 2015 12:38:37 +0100
"Michael S. Tsirkin" <address@hidden> wrote:
> Add files imported from linux-next (what will become linux 4.0) using
> scripts/update-linux-headers.sh
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
> include/standard-headers/sys/if_ether.h | 1 +
> include/standard-headers/sys/types.h | 2 +
> include/standard-headers/sys/virtio_9p.h | 44 +++++
> include/standard-headers/sys/virtio_balloon.h | 59 +++++++
> include/standard-headers/sys/virtio_blk.h | 143 ++++++++++++++++
> include/standard-headers/sys/virtio_config.h | 64 +++++++
> include/standard-headers/sys/virtio_console.h | 78 +++++++++
> include/standard-headers/sys/virtio_ids.h | 43 +++++
> include/standard-headers/sys/virtio_net.h | 233
> ++++++++++++++++++++++++++
> include/standard-headers/sys/virtio_pci.h | 193 +++++++++++++++++++++
> include/standard-headers/sys/virtio_ring.h | 171 +++++++++++++++++++
> include/standard-headers/sys/virtio_rng.h | 8 +
> include/standard-headers/sys/virtio_scsi.h | 164 ++++++++++++++++++
> include/standard-headers/sys/virtio_types.h | 46 +++++
> 14 files changed, 1249 insertions(+)
> create mode 100644 include/standard-headers/sys/if_ether.h
> create mode 100644 include/standard-headers/sys/types.h
> create mode 100644 include/standard-headers/sys/virtio_9p.h
> create mode 100644 include/standard-headers/sys/virtio_balloon.h
> create mode 100644 include/standard-headers/sys/virtio_blk.h
> create mode 100644 include/standard-headers/sys/virtio_config.h
> create mode 100644 include/standard-headers/sys/virtio_console.h
> create mode 100644 include/standard-headers/sys/virtio_ids.h
> create mode 100644 include/standard-headers/sys/virtio_net.h
> create mode 100644 include/standard-headers/sys/virtio_pci.h
> create mode 100644 include/standard-headers/sys/virtio_ring.h
> create mode 100644 include/standard-headers/sys/virtio_rng.h
> create mode 100644 include/standard-headers/sys/virtio_scsi.h
> create mode 100644 include/standard-headers/sys/virtio_types.h
>
> diff --git a/include/standard-headers/sys/if_ether.h
> b/include/standard-headers/sys/if_ether.h
> new file mode 100644
> index 0000000..91cf735
> --- /dev/null
> +++ b/include/standard-headers/sys/if_ether.h
> @@ -0,0 +1 @@
> +#define ETH_ALEN 6
> diff --git a/include/standard-headers/sys/types.h
> b/include/standard-headers/sys/types.h
> new file mode 100644
> index 0000000..7d42ac6
> --- /dev/null
> +++ b/include/standard-headers/sys/types.h
> @@ -0,0 +1,2 @@
> +#include <inttypes.h>
> +#include "qemu/compiler.h"
> diff --git a/include/standard-headers/sys/virtio_9p.h
> b/include/standard-headers/sys/virtio_9p.h
> new file mode 100644
> index 0000000..19df0e4
> --- /dev/null
> +++ b/include/standard-headers/sys/virtio_9p.h
> @@ -0,0 +1,44 @@
> +#ifndef _LINUX_VIRTIO_9P_H
> +#define _LINUX_VIRTIO_9P_H
Would it make sense to replace the _LINUX_ in the header guards with
the update-linux-headers.sh script, too (to avoid confusion with the
real Linux headers)?
Thomas
- [Qemu-devel] [PATCH v2 00/17] virtio: pull headers from linux, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 01/17] scripts/update-linux-headers.sh: pull virtio hdrs, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 03/17] virtio: use standard virtio_ring.h, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 02/17] include: import virtio headers from linux 4.0, Michael S. Tsirkin, 2015/02/15
- Re: [Qemu-devel] [PATCH v2 02/17] include: import virtio headers from linux 4.0,
Thomas Huth <=
- [Qemu-devel] [PATCH v2 04/17] virtio: use standard-headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 05/17] virtio-balloon: use standard headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 06/17] virtio-9p: use standard headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 07/17] virtio-blk: switch to standard-headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 09/17] virtio-rng: use standard-headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 08/17] virtio-net, tap: use standard-headers, Michael S. Tsirkin, 2015/02/15
- [Qemu-devel] [PATCH v2 10/17] virtio-scsi: use standard-headers, Michael S. Tsirkin, 2015/02/15