]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit140033d12fc5efcc44eec71668e425843013fd91
tree0d3d9a9a08974afb663e63d5cc1d085552b2895e
parentae300f02a9b8a54bb4efdcf7f7db7de5536932a3
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