]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm64: vgic-its: Add pointer to corresponding kvm_device
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 20:35:07 +0000 (21:35 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:18 +0000 (18:15 +0100)
commitbb7176449f6da27534a0faf3a67997bf2c3172aa
tree87b81477ee655dafff97e8622cf5e9c06a75e7e2
parent17a21f58ff3e60fef3df788561b65e576a0b494d
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>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic/vgic-its.c