@@ -304,6 +304,13 @@ struct kvm_s390_adapter_int {
u32 adapter_id;
};
+struct kvm_extended_msi {
+ u32 address_lo; /* low 32 bits of msi message address */
+ u32 address_hi; /* high 32 bits of msi message address */
+ u32 data; /* 16 bits of msi message data */
+ u32 devid; /* out-of-band device ID */
+};
+
struct kvm_kernel_irq_routing_entry {
u32 gsi;
u32 type;
@@ -317,6 +324,7 @@ struct kvm_kernel_irq_routing_entry {
} irqchip;
struct msi_msg msi;
struct kvm_s390_adapter_int adapter;
+ struct kvm_extended_msi ext_msi;
};
struct hlist_node link;
};
Add a new kvm_extended_msi struct to store the additional device ID specific to ARM. kvm_kernel_irq_routing_entry union now encompasses this new struct. Signed-off-by: Eric Auger <eric.auger@linaro.org> --- RFC -> PATCH: - reword the commit message after change in first patch (uapi) --- include/linux/kvm_host.h | 8 ++++++++ 1 file changed, 8 insertions(+)