[Top][All Lists]

[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: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code
Date: Sun, 26 May 2013 16:43:57 +0100

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

-- PMM

reply via email to

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