diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-02-17 20:14:43 -0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-02-22 10:58:33 +0200 |
commit | 6312b92853a7cd483533de0348dcd26edef74824 (patch) | |
tree | 9a9dfc9c58d3818ebe119e06b4639a3d2f6046df /kvm-all.c | |
parent | cc84de9570ffe01a9c3c169bd62ab9586a9a080c (diff) | |
download | qemu-6312b92853a7cd483533de0348dcd26edef74824.tar.gz qemu-6312b92853a7cd483533de0348dcd26edef74824.tar.bz2 qemu-6312b92853a7cd483533de0348dcd26edef74824.zip |
kvm: remove pre-entry exit_request check with iothread enabled
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>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |