summary refs log tree commit diff stats
path: root/include/hw/pci/msix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/pci/msix.h')
-rw-r--r--include/hw/pci/msix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/pci/msix.h b/include/hw/pci/msix.h
index 1f27658d35..08acfa836e 100644
--- a/include/hw/pci/msix.h
+++ b/include/hw/pci/msix.h
@@ -4,6 +4,8 @@
 #include "qemu-common.h"
 #include "hw/pci/pci.h"
 
+#define MSIX_CAP_LENGTH 12
+
 void msix_set_message(PCIDevice *dev, int vector, MSIMessage msg);
 MSIMessage msix_get_message(PCIDevice *dev, unsigned int vector);
 int msix_init(PCIDevice *dev, unsigned short nentries,