summaryrefslogtreecommitdiff
path: root/hw/virtio-pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-20 08:42:08 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-20 08:42:08 -0500
commit1f99b94932fcf0a543e46e24875fc2b3a8c304a7 (patch)
treedeec2cb0dbebe1e6295b7068c85cdf181a378599 /hw/virtio-pci.c
parent8a9236f1d2e91ddd31e3eeae8fe27392c07324a9 (diff)
parentd9b36a6e562450fd633ea9352f43885b86693838 (diff)
downloadqemu-1f99b94932fcf0a543e46e24875fc2b3a8c304a7.tar.gz
Merge remote-tracking branch 'aneesh/for-upstream-6' into staging
Conflicts: trace-events
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r--hw/virtio-pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index df27c198b0..ca5923c495 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -83,11 +83,6 @@
/* Flags track per-device state like workarounds for quirks in older guests. */
#define VIRTIO_PCI_FLAG_BUS_MASTER_BUG (1 << 0)
-/* Performance improves when virtqueue kick processing is decoupled from the
- * vcpu thread using ioeventfd for some devices. */
-#define VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT 1
-#define VIRTIO_PCI_FLAG_USE_IOEVENTFD (1 << VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT)
-
/* QEMU doesn't strictly need write barriers since everything runs in
* lock-step. We'll leave the calls to wmb() in though to make it obvious for
* KVM or if kqemu gets SMP support.