KVM: arm/arm64: Extend arch CAP checks to allow per-VM capabilities
authorAndre Przywara <andre.przywara@arm.com>
Fri, 15 Jul 2016 11:43:25 +0000 (12:43 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:10:31 +0000 (18:10 +0100)
commitb46f01ce4dcfdce636588fe2ef5035724c77f266
treeaf739e4bca8160d4a920bddbb2c9739be5f43b23
parent2b8ddd9337ee0d001b22507f95596648a1a90992
KVM: arm/arm64: Extend arch CAP checks to allow per-VM capabilities

KVM capabilities can be a per-VM property, though ARM/ARM64 currently
does not pass on the VM pointer to the architecture specific
capability handlers.
Add a "struct kvm*" parameter to those function to later allow proper
per-VM capability reporting.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/arm.c
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/reset.c