diff options
| author | Sean Christopherson <[email protected]> | 2019-01-25 07:40:58 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-02-12 13:12:19 +0100 |
| commit | f1727b4954772a778df0b73a93c4b646fd3c21f6 (patch) | |
| tree | c168e8cc8b0ed6f100f9f2d2ad9a32fda965ee0e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6c1e7e5b40f23b9e754a47852924115febba35df (diff) | |
KVM: nVMX: Capture VM-Fail to a local var in nested_vmx_check_vmentry_hw()
Unlike the primary vCPU-run flow, the nested early checks code doesn't
actually want to propagate VM-Fail back to 'vmx'. Yay copy+paste.
In additional to eliminating the need to clear vmx->fail before
returning, using a local boolean also drops a reference to 'vmx' in the
asm blob. Dropping the reference to 'vmx' will save a register in the
long run as future patches will shift all pointer references from 'vmx'
to 'vmx->loaded_vmcs'.
Fixes: 52017608da33 ("KVM: nVMX: add option to perform early consistency checks via H/W")
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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions