KVM: nVMX: Fix nested_run_pending on activity state HLT
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Jan 2014 17:47:23 +0000 (18:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Jan 2014 09:22:17 +0000 (10:22 +0100)
When we suspend the guest in HLT state, the nested run is no longer
pending - we emulated it completely. So only set nested_run_pending
after checking the activity state.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c

Simple merge