diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2019-10-08 23:35:30 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-11-15 00:56:47 +0000 |
commit | b8918441ba1b928801032721962af1a59f4e82de (patch) | |
tree | 9f28e894a3ccee0bd302528143d6f62e76979a68 /arch/x86/include | |
parent | 582441d3f8d0a120af98cf05dd56c6701161883a (diff) |
KVM: Introduce kvm_get_arch_capabilities()
Extracted from commit 5b76a3cff011 "KVM: VMX: Tell the nested
hypervisor to skip L1D flush on vmentry". We will need this to let a
nested hypervisor know that we have applied the mitigation for TAA.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 92a9ba2595b3..0249450e2e50 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1062,6 +1062,7 @@ int kvm_arch_interrupt_allowed(struct kvm_vcpu *vcpu); int kvm_cpu_get_interrupt(struct kvm_vcpu *v); void kvm_vcpu_reset(struct kvm_vcpu *vcpu); +u64 kvm_get_arch_capabilities(void); void kvm_define_shared_msr(unsigned index, u32 msr); int kvm_set_shared_msr(unsigned index, u64 val, u64 mask); |