diff options
author | Sean Christopherson <seanjc@google.com> | 2025-02-01 04:55:16 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-24 20:01:07 +0300 |
commit | fbd1e0f195464a362c91e16b5c327db0e89612ca (patch) | |
tree | ed935f57dd6de3bfb4dd70c610ca9a31e9525bf9 /tools/perf/scripts/python/task-analyzer.py | |
parent | d4aea23fd0ff6d792f66886bcb158e52a095b3bc (diff) | |
download | linux-fbd1e0f195464a362c91e16b5c327db0e89612ca.tar.xz |
KVM: nVMX: Allow the caller to provide instruction length on nested VM-Exit
Rework the nested VM-Exit helper to take the instruction length as a
parameter, and convert nested_vmx_vmexit() into a "default" wrapper that
grabs the length from vmcs02 as appropriate. This will allow KVM to set
the correct instruction length when synthesizing a nested VM-Exit when
emulating an instruction that L1 wants to intercept.
No functional change intended, as the path to prepare_vmcs12()'s reading
of vmcs02.VM_EXIT_INSTRUCTION_LEN is gated on the same set of conditions
as the VMREAD in the new nested_vmx_vmexit().
Link: https://lore.kernel.org/r/20250201015518.689704-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions