arm/arm64: KVM: pass down user space provided GIC type into vGIC code
authorAndre Przywara <andre.przywara@arm.com>
Tue, 3 Jun 2014 07:33:10 +0000 (09:33 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:25 +0000 (18:25 +0100)
commit59892136c40d6735e627dcea6a056380dfd6721d
tree1e6f37ba718a4e6d57d6b202fc611f09f7525718
parent4429fc64b90368e9bc93f933ea8b011d8db3a2f2
arm/arm64: KVM: pass down user space provided GIC type into vGIC code

With the introduction of a second emulated GIC model we need to let
userspace specify the GIC model to use for each VM. Pass the
userspace provided value down into the vGIC code and store it there
to differentiate later.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c