diff options
author | Andre Przywara <andre.przywara@arm.com> | 2015-03-26 17:39:35 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-03-27 00:43:15 +0300 |
commit | a9cf86f62b785202684c3ba92895946f03d910c8 (patch) | |
tree | 96f12c366cdb93c1c8336916bab305e6df18d489 /include/kvm | |
parent | 6777f77f0f544f686ee3158ff0db6a7d81b7d3a2 (diff) | |
download | linux-a9cf86f62b785202684c3ba92895946f03d910c8.tar.xz |
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.h | 1 |
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 { |