summary refs log tree commit diff stats
path: root/hw
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-16 15:41:09 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2012-05-16 18:04:44 -0300
commit14de9bab9e4aa47215c26d87de7385afbcb37afa (patch)
tree326b2655bb6effba364e30359e1d5e3757d23776 /hw
parent4e2e4e6355959a1af011167b0db5ac7ffd3adf94 (diff)
downloadfocaccia-qemu-14de9bab9e4aa47215c26d87de7385afbcb37afa.tar.gz
focaccia-qemu-14de9bab9e4aa47215c26d87de7385afbcb37afa.zip
Introduce MSIMessage structure
Will be used for generating and distributing MSI messages, both in
emulation mode and under KVM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/msi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/msi.h b/hw/msi.h
index 3040bb0b43..75747abc25 100644
--- a/hw/msi.h
+++ b/hw/msi.h
@@ -24,6 +24,11 @@
 #include "qemu-common.h"
 #include "pci.h"
 
+struct MSIMessage {
+    uint64_t address;
+    uint32_t data;
+};
+
 extern bool msi_supported;
 
 bool msi_enabled(const PCIDevice *dev);