diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-30 17:15:31 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-09-09 20:16:31 -0700 |
commit | 19ab2c8be070160be70a88027b3b93106fef7b89 (patch) | |
tree | c9f5feafbc52f6e81c63d260a09dafc091f6d840 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 620525739521376a65a690df899e1596d56791f8 (diff) |
KVM: x86: Check EMULTYPE_WRITE_PF_TO_SP before unprotecting gfn
Don't bother unprotecting the target gfn if EMULTYPE_WRITE_PF_TO_SP is
set, as KVM will simply report the emulation failure to userspace. This
will allow converting reexecute_instruction() to use
kvm_mmu_unprotect_gfn_instead_retry() instead of kvm_mmu_unprotect_page().
Link: https://lore.kernel.org/r/20240831001538.336683-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions