qemu-devel
[Top][All Lists]
Advanced

[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: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH v2 02/17] include: import virtio headers from linux 4.0
Date: Mon, 16 Feb 2015 17:13:53 +0100

On Mon, Feb 16, 2015 at 05:03:16PM +0100, Thomas Huth wrote:
> 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

There will be conflicts if you try to pull in both, anyway.
So just don't do it :)

-- 
MST



reply via email to

[Prev in Thread] Current Thread [Next in Thread]