summaryrefslogtreecommitdiffstats
path: root/hw/pm_smbus.h
diff options
context:
space:
mode:
authorMichael Roth2013-01-14 20:20:13 +0100
committerAnthony Liguori2013-01-14 20:36:12 +0100
commitb8bec49cccbf8e34558371df60e7e64419c4fde9 (patch)
tree4cf0e1d983cd613443a98bcdc6936399d265c87d /hw/pm_smbus.h
parentvirtio-pci: build for uninitialized return value in vq_vector_unmask (diff)
downloadqemu-b8bec49cccbf8e34558371df60e7e64419c4fde9.tar.gz
qemu-b8bec49cccbf8e34558371df60e7e64419c4fde9.tar.xz
qemu-b8bec49cccbf8e34558371df60e7e64419c4fde9.zip
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>
Diffstat (limited to 'hw/pm_smbus.h')
0 files changed, 0 insertions, 0 deletions