[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in port
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code |
Date: |
Sun, 26 May 2013 20:51:10 +0300 |
On Sun, May 26, 2013 at 04:43:57PM +0100, Peter Maydell wrote:
> On 26 May 2013 16:22, Michael S. Tsirkin <address@hidden> wrote:
> > virtio linux headers are actually pretty portable:
> > all we need is implement linux/types.h in a portable
> > way, and we can import them and use on any platform.
> >
> > These patches do exactly that, as a pre-requisite
> > to adding support for new virtio layout.
> >
> > Note: if someone adds non-portable code in files we import from
> > linux-headers,
> > we'll have to revert to copying code manually. This didn't happen yet so
> > hopefully it won't.
>
> This series breaks compilation on MacOSX:
>
> CC net/eth.o
> In file included from net/eth.c:18:
> In file included from /Users/pm215/src/qemu/include/net/eth.h:29:
> /Users/pm215/src/qemu/linux-headers/linux/if_ether.h:24:10: fatal
> error: 'linux/types.h' file not found
> #include <linux/types.h>
> ^
> 1 error generated.
> make: *** [net/eth.o] Error 1
>
> thanks
> -- PMM
Could be a stale file in your tree ...
Did configure get re-run?
Could you post the config-host.mak file please?
- [Qemu-devel] [PATCH v2 03/11] virtio-9p: switch to linux-headers, (continued)
- [Qemu-devel] [PATCH v2 03/11] virtio-9p: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 04/11] virtio-net, eth: use linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 05/11] virtio-blk: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 06/11] virtio-balloon: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 07/11] virtio-rng: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 08/11] virtio-console: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 09/11] virtio: add virtio_ids from linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 10/11] virtio-pci: switch to linux-headers, Michael S. Tsirkin, 2013/05/26
- [Qemu-devel] [PATCH v2 11/11] virtio: use ring structure from linux-headers, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Peter Maydell, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code,
Michael S. Tsirkin <=
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Peter Maydell, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Paolo Bonzini, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Paolo Bonzini, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Paolo Bonzini, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Michael S. Tsirkin, 2013/05/26
- Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code, Anthony Liguori, 2013/05/26