]> Git Repo - qemu.git/blobdiff - hw/virtio-pci.h
pseries: Under kvm use guest cpu = host cpu by default
[qemu.git] / hw / virtio-pci.h
index 5af1c8c69fdb6f0fd8f123ae1ff0c427d7c74e7a..f8404de92b23486a7e571ac3974e24d1cd7b4509 100644 (file)
 #include "virtio-net.h"
 #include "virtio-serial.h"
 
+/* 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)
+
 typedef struct {
     PCIDevice pci_dev;
     VirtIODevice *vdev;
     MemoryRegion bar;
+    MemoryRegion msix_bar;
     uint32_t flags;
     uint32_t class_code;
     uint32_t nvectors;
This page took 0.024271 seconds and 4 git commands to generate.