From: Asias He Subject: [PATCH 4/6] kvm tools: Block SIGALRM for ioeventfd thread Date: Thu, 16 Jun 2011 00:48:09 +0800 Message-ID: <1308156491-18488-4-git-send-email-asias.hejun@gmail.com> References: <1308156491-18488-1-git-send-email-asias.hejun@gmail.com> Cc: Cyrill Gorcunov , Ingo Molnar , Sasha Levin , Prasad Joshi , kvm@vger.kernel.org, Asias He To: Pekka Enberg Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:61786 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305Ab1FOQu5 (ORCPT ); Wed, 15 Jun 2011 12:50:57 -0400 Received: by mail-pz0-f46.google.com with SMTP id 9so395991pzk.19 for ; Wed, 15 Jun 2011 09:50:57 -0700 (PDT) In-Reply-To: <1308156491-18488-1-git-send-email-asias.hejun@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Asias He --- tools/kvm/ioeventfd.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/kvm/ioeventfd.c b/tools/kvm/ioeventfd.c index 3a240e4..0683868 100644 --- a/tools/kvm/ioeventfd.c +++ b/tools/kvm/ioeventfd.c @@ -99,6 +99,9 @@ void ioeventfd__del_event(u64 addr, u64 datamatch) static void *ioeventfd__thread(void *param) { + + sig_block(SIGALRM); + for (;;) { int nfds, i; -- 1.7.5.4