Skip to content
Commit 9b5db6c7 authored by Aaron Lewis's avatar Aaron Lewis Committed by Paolo Bonzini
Browse files

kvm: nVMX: Set nested_run_pending in vmx_set_nested_state after checks complete



nested_run_pending=1 implies we have successfully entered guest mode.
Move setting from external state in vmx_set_nested_state() until after
all other checks are complete.

Based on a patch by Aaron Lewis.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent da1e3071
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment