OSDN Git Service

KVM: x86: nSVM: always intercept x2apic msrs
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 19 May 2022 10:27:02 +0000 (05:27 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 16:50:26 +0000 (12:50 -0400)
commit7a8f7c1f3434afc94b6895eff713e0fcea01e3b4
tree0d3d9a9a08974afb663e63d5cc1d085552b2895e
parent05c4fe8c1bd94c6f59a8b82cbd535b1aea55945f
KVM: x86: nSVM: always intercept x2apic msrs

As a preparation for x2avic, this patch ensures that x2apic msrs
are always intercepted for the nested guest.

Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220519102709.24125-11-suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.h