projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ad5b0
)
exit round-robin vcpu loop if cpu->stopped is true
author
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 12 Mar 2011 16:43:58 +0000
(17:43 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Mar 2011 14:44:21 +0000
(14:44 +0000)
Sometimes vcpus are stopped directly without going through ->stop = 1.
Exit the VCPU execution loop in this case as well.
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 c5743c4bd3b11b2f1b75c2d2e58e918e11bd5438..785a104b60502ea4073f9029ff247d33fa9b1d4b 100644
(file)
--- a/
cpus.c
+++ b/
cpus.c
@@
-1098,7
+1098,7
@@
bool cpu_exec_all(void)
cpu_handle_debug_exception(env);
break;
}
- } else if (env->stop) {
+ } else if (env->stop
|| env->stopped
) {
break;
}
}