summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-04-10 11:38:30 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-16 15:39:01 +0200
commitf16cb57be82b20c6a00a6bb1750cb77c08e56c1a (patch)
tree261f1241d79f00d4b8b858eb38c4c54a097be8be /arch
parentKVM: vmx: print more APICv fields in dump_vmcs (diff)
downloadlinux-f16cb57be82b20c6a00a6bb1750cb77c08e56c1a.tar.xz
linux-f16cb57be82b20c6a00a6bb1750cb77c08e56c1a.zip
KVM: x86: clear VM_EXIT_SAVE_IA32_PAT
This is not needed, PAT writes always take an MSR vmexit. Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/vmx/vmx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 92bd511076f6..a8a1e533d7fb 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -2288,7 +2288,6 @@ static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf,
min |= VM_EXIT_HOST_ADDR_SPACE_SIZE;
#endif
opt = VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL |
- VM_EXIT_SAVE_IA32_PAT |
VM_EXIT_LOAD_IA32_PAT |
VM_EXIT_LOAD_IA32_EFER |
VM_EXIT_CLEAR_BNDCFGS |