summaryrefslogtreecommitdiff
path: root/hw/msi.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/msi.h')
-rw-r--r--hw/msi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/msi.h b/hw/msi.h
index 5766018d79..3040bb0b43 100644
--- a/hw/msi.h
+++ b/hw/msi.h
@@ -24,6 +24,8 @@
#include "qemu-common.h"
#include "pci.h"
+extern bool msi_supported;
+
bool msi_enabled(const PCIDevice *dev);
int msi_init(struct PCIDevice *dev, uint8_t offset,
unsigned int nr_vectors, bool msi64bit, bool msi_per_vector_mask);