]> 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)
commit8d950ebf2116ed6b6d0c59a88a2dddd643dd8561
tree204da676789d8b4ec2702573b1301fdcbfa7301c
parent384aa46b7f57cb78bf75279598bdca208abd69cc
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