From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQf3G-0002nJ-R3 for qemu-devel@nongnu.org; Wed, 06 Aug 2008 05:11:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQf3D-0002mZ-Re for qemu-devel@nongnu.org; Wed, 06 Aug 2008 05:11:24 -0400 Received: from [199.232.76.173] (port=46949 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQf3C-0002mK-6C for qemu-devel@nongnu.org; Wed, 06 Aug 2008 05:11:22 -0400 Received: from mx1.redhat.com ([66.187.233.31]:58184) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQf3B-0007qE-OY for qemu-devel@nongnu.org; Wed, 06 Aug 2008 05:11:21 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m769BLX6016258 for ; Wed, 6 Aug 2008 05:11:21 -0400 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m769BKfH025213 for ; Wed, 6 Aug 2008 05:11:20 -0400 Received: from zweiblum.travel.kraxel.org (vpn-4-140.str.redhat.com [10.32.4.140]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m769BJEX005157 for ; Wed, 6 Aug 2008 05:11:19 -0400 Message-ID: <48996AB7.4030608@redhat.com> Date: Wed, 06 Aug 2008 11:11:19 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] catch signals References: <48987B43.4090207@redhat.com> <20080805162931.GY4478@implementation.uk.xensource.com> In-Reply-To: <20080805162931.GY4478@implementation.uk.xensource.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Samuel Thibault wrote: > Gerd Hoffmann, le Tue 05 Aug 2008 18:09:39 +0200, a =E9crit : >> + sigaction(SIGINT, &act, NULL); >> + sigaction(SIGTERM, &act, NULL); >> + sigaction(SIGQUIT, &act, NULL); >> + sigaction(SIGSEGV, &act, NULL); >> + sigaction(SIGBUS, &act, NULL); >=20 > + SIGHUP and SIGPIPE? SIGHUP yes. SIGPIPE is handled elsewhere in the code. Also guest shutdown isn't the thing we want to do on SIGPIPE ... cheers, Gerd --=20 http://kraxel.fedorapeople.org/xenner/