aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-08-31 09:42:23 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-30 04:27:05 -0400
commit15cabbc259f254e7e3fe0243dfd9dfc9aeb85c06 (patch)
tree662914264cee197a597b729f052b97573de7c4b1 /tools/perf/scripts/python/event_analyzing_sample.py
parentkvm: rename KVM_MAX_VCPU_ID to KVM_MAX_VCPU_IDS (diff)
downloadlinux-15cabbc259f254e7e3fe0243dfd9dfc9aeb85c06.tar.gz
linux-15cabbc259f254e7e3fe0243dfd9dfc9aeb85c06.zip
KVM: x86: Subsume nested GPA read helper into load_pdptrs()
Open code the call to mmu->translate_gpa() when loading nested PDPTRs and kill off the existing helper, kvm_read_guest_page_mmu(), to discourage incorrect use. Reading guest memory straight from an L2 GPA is extremely rare (as evidenced by the lack of users), as very few constructs in x86 specify physical addresses, even fewer are virtualized by KVM, and even fewer yet require emulation of L2 by L0 KVM. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210831164224.1119728-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions