]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: Track whether changes in L0 require MSR bitmap for L2 to be rebuilt
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 2 Feb 2022 09:50:57 +0000 (10:50 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:44 +0000 (13:50 -0500)
commit8add1031b13c8b32227fe3eff469d8eadeb7fb47
tree74178afcc376c08afb42b90c790685c64d0f7c9f
parent618ae3a267cde521513ed024cae2756d4219f22a
KVM: nSVM: Track whether changes in L0 require MSR bitmap for L2 to be rebuilt

Similar to nVMX commit 17a1df90e77a ("KVM: nVMX: Track whether changes in
L0 require MSR bitmap for L2 to be rebuilt"), introduce a flag to keep
track of whether MSR bitmap for L2 needs to be rebuilt due to changes in
MSR bitmap for L1 or switching to a different L2.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220202095100.129834-2-vkuznets@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