From: Paolo Bonzini Date: Wed, 10 Apr 2019 09:38:30 +0000 (+0200) Subject: KVM: x86: clear VM_EXIT_SAVE_IA32_PAT X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f16cb57be82b20c6a00a6bb1750cb77c08e56c1a;p=openwrt%2Fstaging%2Fblogic.git KVM: x86: clear VM_EXIT_SAVE_IA32_PAT This is not needed, PAT writes always take an MSR vmexit. Reviewed-by: Sean Christopherson Signed-off-by: Paolo Bonzini --- 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 |