diff options
author | Jan Kiszka | 2012-05-16 20:41:09 +0200 |
---|---|---|
committer | Marcelo Tosatti | 2012-05-16 23:04:44 +0200 |
commit | 14de9bab9e4aa47215c26d87de7385afbcb37afa (patch) | |
tree | 326b2655bb6effba364e30359e1d5e3757d23776 /hw/msi.h | |
parent | kvm: Refactor KVMState::max_gsi to gsi_count (diff) | |
download | qemu-14de9bab9e4aa47215c26d87de7385afbcb37afa.tar.gz qemu-14de9bab9e4aa47215c26d87de7385afbcb37afa.tar.xz 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/msi.h')
-rw-r--r-- | hw/msi.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |