]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit7af40ad37b3f097f367cbe9c0198caccce6fd83b
tree0242e83916488748db38ca0eb30edf371b79b52c
parentcae501397a25dc1e88375925c5e93a264d4a55ba
KVM: nVMX: Fix nested_run_pending on activity state HLT

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