summaryrefslogtreecommitdiffstats
path: root/hw/msi.h
diff options
context:
space:
mode:
authorPaolo Bonzini2012-10-31 10:42:51 +0100
committerPaolo Bonzini2012-10-31 10:42:51 +0100
commitf563a5d7a820424756f358e747238f03e866838a (patch)
treef78fa474b1933bd395af401a6d745150f4ecd15e /hw/msi.h
parentraw-win32: implement native asynchronous I/O (diff)
parenttap-win32: stubs to fix win32 build (diff)
downloadqemu-f563a5d7a820424756f358e747238f03e866838a.tar.gz
qemu-f563a5d7a820424756f358e747238f03e866838a.tar.xz
qemu-f563a5d7a820424756f358e747238f03e866838a.zip
Merge remote-tracking branch 'origin/master' into threadpool
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/msi.h')
-rw-r--r--hw/msi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/msi.h b/hw/msi.h
index 6ec1f99f80..150b09a19d 100644
--- a/hw/msi.h
+++ b/hw/msi.h
@@ -32,6 +32,7 @@ struct MSIMessage {
extern bool msi_supported;
void msi_set_message(PCIDevice *dev, MSIMessage msg);
+MSIMessage msi_get_message(PCIDevice *dev, unsigned int vector);
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);