summary refs log tree commit diff stats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-01-02 08:01:36 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-02 08:01:36 -0600
commit079944e695589364d19de31f27761c6bdea1c207 (patch)
tree072caf3ebee747b1ff92ad8e0086ff4edbd7220e /hw/virtio.c
parenta97ff30e934c4d673122cf709e8e87f0effbe2f7 (diff)
parent89d62be9f4fb538db7f919a2be7df2544ffc02c5 (diff)
downloadfocaccia-qemu-079944e695589364d19de31f27761c6bdea1c207.tar.gz
focaccia-qemu-079944e695589364d19de31f27761c6bdea1c207.zip
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci,virtio

This optimizes MSIX handling in virtio-pci.
Also included is pci express capability bugfix.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

* mst/tags/for_anthony:
  virtio-pci: don't poll masked vectors
  msix: expose access to masked/pending state
  msi: add API to get notified about pending bit poll
  pcie: Fix bug in pcie_ext_cap_set_next
  virtio: make bindings typesafe
Diffstat (limited to 'hw/virtio.c')
-rw-r--r--hw/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio.c b/hw/virtio.c
index 0455a9e8f3..77b53a9c21 100644
--- a/hw/virtio.c
+++ b/hw/virtio.c
@@ -935,7 +935,7 @@ VirtIODevice *virtio_common_init(const char *name, uint16_t device_id,
 }
 
 void virtio_bind_device(VirtIODevice *vdev, const VirtIOBindings *binding,
-                        void *opaque)
+                        DeviceState *opaque)
 {
     vdev->binding = binding;
     vdev->binding_opaque = opaque;