OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc84de9
)
kvm: remove pre-entry exit_request check with iothread enabled
author
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 17 Feb 2010 22:14:43 +0000
(20:14 -0200)
committer
Avi Kivity
<avi@redhat.com>
Mon, 22 Feb 2010 08:58:33 +0000
(10:58 +0200)
With SIG_IPI blocked vcpu loop exit notification happens via -EAGAIN
from KVM_RUN.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
kvm-all.c
patch
|
blob
|
history
diff --git
a/kvm-all.c
b/kvm-all.c
index
38c372f
..
91d3cbd
100644
(file)
--- a/
kvm-all.c
+++ b/
kvm-all.c
@@
-753,11
+753,13
@@
int kvm_cpu_exec(CPUState *env)
dprintf("kvm_cpu_exec()\n");
do {
+#ifndef CONFIG_IOTHREAD
if (env->exit_request) {
dprintf("interrupt exit requested\n");
ret = 0;
break;
}
+#endif
if (env->kvm_vcpu_dirty) {
kvm_arch_put_registers(env);