summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-08-26 12:58:33 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2026-09-26 02:22:12 -0400
commit9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85 (patch)
treebc8271e87d1956908afaeeba9d30620b4c492900 /tools/lib/python/kdoc/python_version.py
parent73392706d0e0f3aff299321de41d73abe3f53d9d (diff)
downloadlinux-next-9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85.tar.gz
linux-next-9e06bbb9ade7cdf28d4a3b5b14e5812881c8df85.zip
KVM: SVM: Use the active VMCB's MSR bitmap when checking if MSR is intercepted
Use the MSR permission bitmap of the active VMCB instead of assuming that KVM is always using vmcb02's bitmap when L2 is active, as KVM uses msrpm02 if and only if L1 wants to intercept MSR accesses, i.e. if and only if KVM needs to merge msprm01 with msrpm12. Don't bother tracking the virtual address of the bitmap that's being used, as __va() is cheap on x86, and caching the virtual address would introduce yet another source of potentially stale information. Fixes: b2ac58f90540 ("KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL") Cc: stable@vger.kernel.org Reported-by: Stefan Teodorescu <fane@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-ID: <20260826195833.844526-1-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions