diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-04-11 13:24:44 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-13 18:01:29 +0300 |
commit | d6e69eb6e70c6354db8c44dc2b9f9b19e2134d3b (patch) | |
tree | 40f606cd38dc00a1372a3c196d8896b90631731d | |
parent | 44631342f80fcb72bbe751c7b25d136921e529c9 (diff) |
Ignore SIG_IPI signals in userspacekvm-66rc1
Otherwise a signal can be received in userspace and a vcpu goes back
to the kernel while it should stay still.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r-- | qemu-kvm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-kvm.c b/qemu-kvm.c index 5ad810e44..89e267cba 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -354,7 +354,6 @@ static void *ap_main_loop(void *_env) vcpu->env = env; vcpu->env->thread_id = kvm_get_thread_id(); sigfillset(&signals); - sigdelset(&signals, SIG_IPI); sigprocmask(SIG_BLOCK, &signals, NULL); kvm_create_vcpu(kvm_context, env->cpu_index); kvm_qemu_init_env(env); |