qemu-e2k/hw/dataplane
Michael Roth b8bec49ccc dataplane: fix build breakage on set_guest_notifiers()
virtio_pci_set_guest_notifiers() now takes an additional argument to
specify the number of virtqueues to assign a guest notifier for. This
causes a build breakage for CONFIG_VIRTIO_BLK_DATA_PLANE builds:

/home/mdroth/w/qemu2.git/hw/dataplane/virtio-blk.c: In function
‘virtio_blk_data_plane_start’:
/home/mdroth/w/qemu2.git/hw/dataplane/virtio-blk.c:451:47: error: too
few arguments to function ‘s->vdev->binding->set_guest_notifiers’
/home/mdroth/w/qemu2.git/hw/dataplane/virtio-blk.c: In function
‘virtio_blk_data_plane_stop’:
/home/mdroth/w/qemu2.git/hw/dataplane/virtio-blk.c:511:5: error: too few
arguments to function ‘s->vdev->binding->set_guest_notifiers’
make[1]: *** [hw/dataplane/virtio-blk.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [subdir-x86_64-softmmu] Error 2

Fix this by passing 1 as the number of virtqueues to assign notifiers
for.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-14 13:36:12 -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
hostmem.h
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: fix build breakage on set_guest_notifiers() 2013-01-14 13:36:12 -06:00
virtio-blk.h dataplane: add virtio-blk data plane code 2013-01-02 16:08:47 +01:00
vring.c
vring.h