commit | e0b890d35cdff506b72129b55a166d22fc9bfa64 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Wed Sep 25 12:51:33 2013 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 30 09:14:23 2013 +0200 |
tree | 103b203c928e87b11c163a202e0441edda2b5e8a | |
parent | 6a3f95a6b04cd5efaa45269e453ef30b8680062e [diff] |
KVM: nVMX: Amend nested_run_pending logic EXIT_REASON_VMLAUNCH/EXIT_REASON_VMRESUME exit does not mean that nested VM will actually run during next entry. Move setting nested_run_pending closer to vmentry emulation code and move its clearing close to vmexit to minimize amount of code that will erroneously run with nested_run_pending set. Signed-off-by: Gleb Natapov <gleb@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>