aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio_pci_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio_pci_int.h')
-rw-r--r--hw/vfio_pci_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfio_pci_int.h b/hw/vfio_pci_int.h
index 3812d8d7f1..e69bf5f939 100644
--- a/hw/vfio_pci_int.h
+++ b/hw/vfio_pci_int.h
@@ -36,8 +36,8 @@ typedef struct VFIOINTx {
EventNotifier interrupt; /* eventfd triggered on interrupt */
EventNotifier unmask; /* eventfd for unmask on QEMU bypass */
PCIINTxRoute route; /* routing info for QEMU bypass */
- bool disabled;
- char *intx;
+ uint32_t mmap_timeout; /* delay to re-enable mmaps after interrupt */
+ QEMUTimer *mmap_timer; /* enable mmaps after periods w/o interrupts */
} VFIOINTx;
struct VFIODevice;