diff options
| author | Sean Christopherson <[email protected]> | 2019-01-25 07:41:05 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-02-12 13:12:24 +0100 |
| commit | c9afc58cc368623aaa34a62e321eea2a59240f6f (patch) | |
| tree | 8c707879bf3e3f280c47340da80bcb8cb0488135 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c09b03eb7f964370149577fdba425623b7f5b0b5 (diff) | |
KVM: VMX: Pass "launched" directly to the vCPU-run asm blob
...and remove struct vcpu_vmx's temporary __launched variable.
Eliminating __launched is a bonus, the real motivation is to get to the
point where the only reference to struct vcpu_vmx in the asm code is
to vcpu.arch.regs, which will simplify moving the blob to a proper asm
file. Note that also means this approach is deliberately different than
what is used in nested_vmx_check_vmentry_hw().
Use BL as it is a callee-save register in both 32-bit and 64-bit ABIs,
i.e. it can't be modified by vmx_update_host_rsp(), to avoid having to
temporarily save/restore the launched flag.
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions