commit | 9b5db6c762adcca120667b683af55700ffd7ae29 | [log] [tgz] |
---|---|---|
author | Aaron Lewis <aaronlewis@google.com> | Thu May 02 11:31:25 2019 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed May 08 14:14:08 2019 +0200 |
tree | adad3a896c9ceee19d8b04c2683d0bee07376a3b | |
parent | da1e3071d53d79b00b07b34a5853c8e42f35d745 [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>