diff options
author | Paolo Bonzini <[email protected]> | 2014-07-17 12:25:16 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2014-07-21 14:29:49 +0200 |
commit | 4fa7734c62cdd8c07edd54fa5a5e91482273071a (patch) | |
tree | b994a6b3bec1d29f4a2887e487648eb9124d3172 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c9cdd085bb75226879fd468b88e2e7eb467325b7 (diff) |
KVM: nVMX: fix lifetime issues for vmcs02
free_nested needs the loaded_vmcs to be valid if it is a vmcs02, in
order to detach it from the shadow vmcs. However, this is not
available anymore after commit 26a865f4aa8e (KVM: VMX: fix use after
free of vmx->loaded_vmcs, 2014-01-03).
Revert that patch, and fix its problem by forcing a vmcs01 as the
active VMCS before freeing all the nested VMX state.
Reported-by: Wanpeng Li <[email protected]>
Tested-by: Wanpeng Li <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions