]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: allow tests to use bad virtual-APIC page address
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Apr 2019 13:16:17 +0000 (15:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 08:59:07 +0000 (10:59 +0200)
commita67bf79d0cfb40d895f991c8138cf59bb0a98066
treec36cb58746423288987bdc08715c2c4fe4314ee0
parentc387ec56f657aaca99d508e45b9f67b837fac57b
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>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h