aboutsummaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-03-26 10:39:35 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2015-03-26 17:43:15 -0400
commita9cf86f62b785202684c3ba92895946f03d910c8 (patch)
tree96f12c366cdb93c1c8336916bab305e6df18d489 /include/kvm
parent6777f77f0f544f686ee3158ff0db6a7d81b7d3a2 (diff)
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 {
251 unsigned long *irq_active_on_cpu; 251 unsigned long *irq_active_on_cpu;
252 252
253 struct vgic_vm_ops vm_ops; 253 struct vgic_vm_ops vm_ops;
254 struct vgic_io_device dist_iodev;
254}; 255};
255 256
256struct vgic_v2_cpu_if { 257struct vgic_v2_cpu_if {