commit | 67bb172f9d995880a9c752e9f33819f4a63a3fda | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Sat Mar 12 17:43:59 2011 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Mar 13 14:44:21 2011 +0000 |
tree | d1fa633ae21babca35c624ec637a1dd0090acf8f | |
parent | df646dfd56332a5313feac75d6d168e4c78cf404 [diff] [blame] |
always signal pause_cond after stopping a VCPU Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/cpus.c b/cpus.c index 785a104..6cfb45b 100644 --- a/cpus.c +++ b/cpus.c
@@ -1012,8 +1012,10 @@ void cpu_stop_current(void) { if (cpu_single_env) { + cpu_single_env->stop = 0; cpu_single_env->stopped = 1; cpu_exit(cpu_single_env); + qemu_cond_signal(&qemu_pause_cond); } }