[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/8] block SIGCHLD in vcpu thread(s)
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [PATCH 4/8] block SIGCHLD in vcpu thread(s) |
Date: |
Mon, 22 Feb 2010 18:26:46 -0300 |
Otherwise a vcpu thread can run the sigchild handler causing
waitpid() from iothread to fail.
Signed-off-by: Marcelo Tosatti <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
---
vl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 1957018..3bc618d 100644
--- a/vl.c
+++ b/vl.c
@@ -3515,6 +3515,7 @@ static void block_io_signals(void)
sigaddset(&set, SIGUSR2);
sigaddset(&set, SIGIO);
sigaddset(&set, SIGALRM);
+ sigaddset(&set, SIGCHLD);
pthread_sigmask(SIG_BLOCK, &set, NULL);
sigemptyset(&set);
--
1.6.6
- [Qemu-devel] [PATCH 0/8] [GIT PULL] qemu-kvm.git uq/master queue, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 5/8] kvm specific wait_io_event, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 8/8] kvm-all.c: define smp_wmb and use it for coalesced mmio, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 3/8] kvm: Kill CR3_CACHE feature references, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 6/8] kvm: consume internal signal with sigtimedwait, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 7/8] kvm: remove pre-entry exit_request check with iothread enabled, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 4/8] block SIGCHLD in vcpu thread(s),
Marcelo Tosatti <=
- [Qemu-devel] [PATCH 1/8] use eventfd for iothread, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] [PATCH 2/8] kvm: Fix eflags corruption in kvm mode, Marcelo Tosatti, 2010/02/22
- [Qemu-devel] Re: [PATCH 0/8] [GIT PULL] qemu-kvm.git uq/master queue, Anthony Liguori, 2010/02/22