aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAbel Gordon <[email protected]>2013-04-18 14:36:55 +0300
committerGleb Natapov <[email protected]>2013-04-22 10:52:01 +0300
commit145c28dd19a2a05aa798e77bd7e679847fe8bee3 (patch)
tree8a0f2f1c497c72f80800e3336d6c9d86b1ff0be9 /tools/perf/scripts/python/sctop.py
parent20b97feaf615da2c43361e1dda7efd068a4446ef (diff)
KVM: nVMX: Fix VMXON emulation
handle_vmon doesn't check if L1 is already in root mode (VMXON was previously called). This patch adds this missing check and calls nested_vmx_failValid if VMX is already ON. We need this check because L0 will allocate the shadow vmcs when L1 executes VMXON and we want to avoid host leaks (due to shadow vmcs allocation) if L1 executes VMXON repeatedly. Signed-off-by: Abel Gordon <[email protected]> Reviewed-by: Orit Wasserman <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions