aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx/vmx.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-04-15 15:16:17 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-16 10:59:07 +0200
commit690908104e39d37947f89d76388c876ce4ec5fda (patch)
treec36cb58746423288987bdc08715c2c4fe4314ee0 /arch/x86/kvm/vmx/vmx.h
parentKVM: x86/mmu: Fix an inverted list_empty() check when zapping sptes (diff)
downloadlinux-dev-690908104e39d37947f89d76388c876ce4ec5fda.tar.xz
linux-dev-690908104e39d37947f89d76388c876ce4ec5fda.zip
KVM: nVMX: allow tests to use bad virtual-APIC page address
As mentioned in the comment, there are some special cases where we can simply clear the TPR shadow bit from the CPU-based execution controls in the vmcs02. Handle them so that we can remove some XFAILs from vmx.flat. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kvm/vmx/vmx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h
index a1e00d0a2482..f879529906b4 100644
--- a/arch/x86/kvm/vmx/vmx.h
+++ b/arch/x86/kvm/vmx/vmx.h
@@ -517,4 +517,6 @@ static inline void decache_tsc_multiplier(struct vcpu_vmx *vmx)
vmcs_write64(TSC_MULTIPLIER, vmx->current_tsc_ratio);
}
+void dump_vmcs(void);
+
#endif /* __KVM_X86_VMX_H */