diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2018-09-26 19:32:42 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-10-01 15:50:29 +0300 |
commit | 5b6c6742b5350a6fb5c631fb99a6bc046a62739c (patch) | |
tree | d8a88083b692ead66017b06063b68a97ab7bb660 /arch/arm64/include | |
parent | b2df44ffba363bd90274340e0adfd8137f5cd878 (diff) | |
download | linux-5b6c6742b5350a6fb5c631fb99a6bc046a62739c.tar.xz |
kvm: arm/arm64: Allow arch specific configurations for VM
Allow the arch backends to perform VM specific initialisation.
This will be later used to handle IPA size configuration and per-VM
VTCR configuration on arm64.
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <cdall@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.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, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 3d6d7336f871..b04280ae1be0 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -513,4 +513,6 @@ void kvm_vcpu_put_sysregs(struct kvm_vcpu *vcpu); struct kvm *kvm_arch_alloc_vm(void); void kvm_arch_free_vm(struct kvm *kvm); +int kvm_arm_config_vm(struct kvm *kvm, unsigned long type); + #endif /* __ARM64_KVM_HOST_H__ */ |