KVM: Add devid in kvm_kernel_irq_routing_entry
authorEric Auger <eric.auger@redhat.com>
Fri, 22 Jul 2016 16:20:38 +0000 (16:20 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Jul 2016 17:51:56 +0000 (18:51 +0100)
commit0455e72c9ae9b7e9589f2cc5ba5bc7804be83342
tree2e88cbe289d674a138eb51ccb87d81237d35140c
parent76a10b86785c5e3fc49bcee355502d035b07e47a
KVM: Add devid in kvm_kernel_irq_routing_entry

Enhance kvm_kernel_irq_routing_entry to transport the device id
field, devid. A new flags field makes possible to indicate the
devid is valid. Those additions are used for ARM GICv3 ITS MSI
injection. The original struct msi_msg msi field is replaced by
a new custom structure that embeds the new fields.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Suggested-by: Radim Krčmář <rkrcmar@redhat.com>
Acked-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/kvm_host.h