diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-03-12 17:43:59 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-03-13 14:44:21 +0000 |
commit | 67bb172f9d995880a9c752e9f33819f4a63a3fda (patch) | |
tree | d1fa633ae21babca35c624ec637a1dd0090acf8f /cpus.c | |
parent | df646dfd56332a5313feac75d6d168e4c78cf404 (diff) | |
download | qemu-67bb172f9d995880a9c752e9f33819f4a63a3fda.tar.gz qemu-67bb172f9d995880a9c752e9f33819f4a63a3fda.tar.bz2 qemu-67bb172f9d995880a9c752e9f33819f4a63a3fda.zip |
always signal pause_cond after stopping a VCPU
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1012,8 +1012,10 @@ void qemu_notify_event(void) 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); } } |