aboutsummaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-07-17 16:35:07 -0400
committerMarc Zyngier <marc.zyngier@arm.com>2016-07-18 13:15:18 -0400
commitbb7176449f6da27534a0faf3a67997bf2c3172aa (patch)
tree87b81477ee655dafff97e8622cf5e9c06a75e7e2 /include/kvm
parent17a21f58ff3e60fef3df788561b65e576a0b494d (diff)
KVM: arm64: vgic-its: Add pointer to corresponding kvm_device
Going from the ITS structure to the corresponding KVM structure would be quite handy at times. The kvm_device pointer that is passed at create time is quite convenient for this, so let's keep a copy of it in the vgic_its structure. This will be put to a good use in subsequent patches. 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 4e63a07b9001..540da5149ba7 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -138,6 +138,7 @@ struct vgic_its {
138 bool enabled; 138 bool enabled;
139 bool initialized; 139 bool initialized;
140 struct vgic_io_device iodev; 140 struct vgic_io_device iodev;
141 struct kvm_device *dev;
141 142
142 /* These registers correspond to GITS_BASER{0,1} */ 143 /* These registers correspond to GITS_BASER{0,1} */
143 u64 baser_device_table; 144 u64 baser_device_table;