diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-07-15 07:43:25 -0400 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-07-18 13:10:31 -0400 |
commit | b46f01ce4dcfdce636588fe2ef5035724c77f266 (patch) | |
tree | af739e4bca8160d4a920bddbb2c9739be5f43b23 /arch/arm64/include | |
parent | 2b8ddd9337ee0d001b22507f95596648a1a90992 (diff) |
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>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 69d5cc2d2e17..3eda975837d0 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h | |||
@@ -47,7 +47,7 @@ | |||
47 | 47 | ||
48 | int __attribute_const__ kvm_target_cpu(void); | 48 | int __attribute_const__ kvm_target_cpu(void); |
49 | int kvm_reset_vcpu(struct kvm_vcpu *vcpu); | 49 | int kvm_reset_vcpu(struct kvm_vcpu *vcpu); |
50 | int kvm_arch_dev_ioctl_check_extension(long ext); | 50 | int kvm_arch_dev_ioctl_check_extension(struct kvm *kvm, long ext); |
51 | void __extended_idmap_trampoline(phys_addr_t boot_pgd, phys_addr_t idmap_start); | 51 | void __extended_idmap_trampoline(phys_addr_t boot_pgd, phys_addr_t idmap_start); |
52 | 52 | ||
53 | struct kvm_arch { | 53 | struct kvm_arch { |