summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-03-26 15:39:35 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2015-03-26 22:43:15 +0100
commita9cf86f62b785202684c3ba92895946f03d910c8 (patch)
tree96f12c366cdb93c1c8336916bab305e6df18d489 /include/kvm
parentKVM: arm/arm64: implement kvm_io_bus MMIO handling for the VGIC (diff)
downloadlinux-a9cf86f62b785202684c3ba92895946f03d910c8.tar.xz
linux-a9cf86f62b785202684c3ba92895946f03d910c8.zip
KVM: arm/arm64: prepare GICv2 emulation to be handled by kvm_io_bus
Using the framework provided by the recent vgic.c changes we register a kvm_io_bus device when initializing the virtual GICv2. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/kvm')
-rw-r--r--include/kvm/arm_vgic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index f90140caed8f..4523984bd217 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -251,6 +251,7 @@ struct vgic_dist {
unsigned long *irq_active_on_cpu;
struct vgic_vm_ops vm_ops;
+ struct vgic_io_device dist_iodev;
};
struct vgic_v2_cpu_if {