[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 2/8] Introduce MSIMessage structure
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH v4 2/8] Introduce MSIMessage structure |
Date: |
Wed, 16 May 2012 15:41:09 -0300 |
Will be used for generating and distributing MSI messages, both in
emulation mode and under KVM.
Signed-off-by: Jan Kiszka <address@hidden>
---
hw/msi.h | 5 +++++
qemu-common.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/msi.h b/hw/msi.h
index 3040bb0..75747ab 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);
diff --git a/qemu-common.h b/qemu-common.h
index 50f659a..57fe28f 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -248,6 +248,7 @@ typedef struct PCIEAERLog PCIEAERLog;
typedef struct PCIEAERErr PCIEAERErr;
typedef struct PCIEPort PCIEPort;
typedef struct PCIESlot PCIESlot;
+typedef struct MSIMessage MSIMessage;
typedef struct SerialState SerialState;
typedef struct IRQState *qemu_irq;
typedef struct PCMCIACardState PCMCIACardState;
--
1.7.3.4
- [Qemu-devel] [PATCH v4 0/8] uq/master: MSI support for in-kernel irqchip mode, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 1/8] kvm: Refactor KVMState::max_gsi to gsi_count, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 2/8] Introduce MSIMessage structure,
Jan Kiszka <=
- [Qemu-devel] [PATCH v4 3/8] kvm: Introduce basic MSI support for in-kernel irqchips, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 4/8] pc: Enable MSI support at APIC level, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 5/8] kvm: x86: Wire up MSI support for in-kernel irqchip, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 7/8] kvm: Add support for direct MSI injections, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 6/8] kvm: Update kernel headers, Jan Kiszka, 2012/05/16
- [Qemu-devel] [PATCH v4 8/8] kvm: Enable in-kernel irqchip support by default, Jan Kiszka, 2012/05/16