OSDN Git Service

KVM: VMX: Use common x86's uret MSR list as the one true list
authorSean Christopherson <seanjc@google.com>
Tue, 4 May 2021 17:17:29 +0000 (10:17 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:18 +0000 (06:06 -0400)
commit8ea8b8d6f869425e21f34e60bdbe7e47e6c9d6b9
tree50f7dc3d0c4c884fc2851ef51264b22ec0722787
parentee9d22e08d1341692a43926e5e1d84c90a5dac1d
KVM: VMX: Use common x86's uret MSR list as the one true list

Drop VMX's global list of user return MSRs now that VMX doesn't resort said
list to isolate "active" MSRs, i.e. now that VMX's list and x86's list have
the same MSRs in the same order.

In addition to eliminating the redundant list, this will also allow moving
more of the list management into common x86.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210504171734.1434054-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c