]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is running
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 22 Mar 2022 17:40:45 +0000 (19:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Apr 2022 09:41:22 +0000 (05:41 -0400)
commitd320490eb47f2dd4f1aafafdc44db1948d99404e
tree204da676789d8b4ec2702573b1301fdcbfa7301c
parent5cec93e7961a2d8f36ef62a1bd2ccb8210cb3b9a
KVM: x86: nSVM: correctly virtualize LBR msrs when L2 is running

When L2 is running without LBR virtualization, we should ensure
that L1's LBR msrs continue to update as usual.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220322174050.241850-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h