projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df646df
)
always signal pause_cond after stopping a VCPU
author
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 12 Mar 2011 16:43:59 +0000
(17:43 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Mar 2011 14:44:21 +0000
(14:44 +0000)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c
patch
|
blob
|
history
diff --git
a/cpus.c
b/cpus.c
index 785a104b60502ea4073f9029ff247d33fa9b1d4b..6cfb45b01dddc73fcb6a16e43a2116925bcaed84 100644
(file)
--- a/
cpus.c
+++ b/
cpus.c
@@
-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);
}
}