qemu/hw/dataplane
Stefan Hajnoczi ef4929fb3c dataplane: use linux-headers/ for virtio includes
The hw/dataplane/vring.c code includes linux/virtio_ring.h.  Ensure that
we use linux-headers/ instead of the system-wide headers, which may be
out-of-date on older distros.

This resolves the following build error on Debian 6:

  CC    hw/dataplane/vring.o
cc1: warnings being treated as errors
hw/dataplane/vring.c: In function 'vring_enable_notification':
hw/dataplane/vring.c:71: error: implicit declaration of function 'vring_avail_event'
hw/dataplane/vring.c:71: error: nested extern declaration of 'vring_avail_event'
hw/dataplane/vring.c:71: error: lvalue required as left operand of assignment

Note that we now build dataplane/ for each target instead of only once.
There is no way around this since linux-headers/ is only available for
per-target objects - and it's how virtio, vfio, kvm, and friends are
built.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-03 07:13:25 -06:00
..
event-poll.c dataplane: add event loop 2013-01-02 15:56:21 +01:00
event-poll.h dataplane: add event loop 2013-01-02 15:56:21 +01:00
hostmem.c dataplane: add host memory mapping code 2013-01-02 15:50:32 +01:00
hostmem.h dataplane: add host memory mapping code 2013-01-02 15:50:32 +01:00
ioq.c dataplane: add Linux AIO request queue 2013-01-02 15:58:03 +01:00
ioq.h dataplane: add Linux AIO request queue 2013-01-02 15:58:03 +01:00
Makefile.objs dataplane: use linux-headers/ for virtio includes 2013-01-03 07:13:25 -06:00
virtio-blk.c dataplane: add virtio-blk data plane code 2013-01-02 16:08:47 +01:00
virtio-blk.h dataplane: add virtio-blk data plane code 2013-01-02 16:08:47 +01:00
vring.c dataplane: add virtqueue vring code 2013-01-02 15:55:47 +01:00
vring.h dataplane: add virtqueue vring code 2013-01-02 15:55:47 +01:00