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>
This commit is contained in:
parent
cc84de9570
commit
6312b92853
@ -753,11 +753,13 @@ int kvm_cpu_exec(CPUState *env)
|
|||||||
dprintf("kvm_cpu_exec()\n");
|
dprintf("kvm_cpu_exec()\n");
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
#ifndef CONFIG_IOTHREAD
|
||||||
if (env->exit_request) {
|
if (env->exit_request) {
|
||||||
dprintf("interrupt exit requested\n");
|
dprintf("interrupt exit requested\n");
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (env->kvm_vcpu_dirty) {
|
if (env->kvm_vcpu_dirty) {
|
||||||
kvm_arch_put_registers(env);
|
kvm_arch_put_registers(env);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user