summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-29 03:51:56 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-08-31 21:08:20 +0300
commitc5f2d5645f9b7c12c9546ced9ec1f1a558870747 (patch)
tree747b268321df2a35d528759a9f30d741f710c89b /scripts/gdb/linux/interrupts.py
parent09c8726ffa4a8309af7653988694b6cae6abf723 (diff)
downloadlinux-c5f2d5645f9b7c12c9546ced9ec1f1a558870747.tar.xz
KVM: x86/mmu: Add helper to convert root hpa to shadow page
Add a dedicated helper for converting a root hpa to a shadow page in anticipation of using a "dummy" root to handle the scenario where KVM needs to load a valid shadow root (from hardware's perspective), but the guest doesn't have a visible root to shadow. Similar to PAE roots, the dummy root won't have an associated kvm_mmu_page and will need special handling when finding a shadow page given a root. Opportunistically retrieve the root shadow page in kvm_mmu_sync_roots() *after* verifying the root is unsync (the dummy root can never be unsync). Link: https://lore.kernel.org/r/20230729005200.1057358-2-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions