summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorAbel Gordon <abelg@il.ibm.com>2013-04-18 14:36:55 +0300
committerGleb Natapov <gleb@redhat.com>2013-04-22 10:52:01 +0300
commit145c28dd19a2a05aa798e77bd7e679847fe8bee3 (patch)
tree8a0f2f1c497c72f80800e3336d6c9d86b1ff0be9 /arch/arm/mach-pxa
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 <abelg@il.ibm.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions