From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSeiy-00019O-Ku for qemu-devel@nongnu.org; Mon, 11 Aug 2008 17:14:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSeix-00016A-1O for qemu-devel@nongnu.org; Mon, 11 Aug 2008 17:14:44 -0400 Received: from [199.232.76.173] (port=53393 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSeiw-00015t-V2 for qemu-devel@nongnu.org; Mon, 11 Aug 2008 17:14:42 -0400 Received: from wr-out-0506.google.com ([64.233.184.234]:27761) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSeiw-0007gX-PT for qemu-devel@nongnu.org; Mon, 11 Aug 2008 17:14:42 -0400 Received: by wr-out-0506.google.com with SMTP id c46so1786163wra.18 for ; Mon, 11 Aug 2008 14:14:42 -0700 (PDT) Message-ID: <48A0AB95.3000009@codemonkey.ws> Date: Mon, 11 Aug 2008 16:13:57 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Patch Send Ctrl-C to stdio target. References: <58BD0469C48A7443A479A13D101685E3CBFB0F@ala-mail09.corp.ad.wrs.com> In-Reply-To: <58BD0469C48A7443A479A13D101685E3CBFB0F@ala-mail09.corp.ad.wrs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Krumme, Chris wrote: > Hello, > > This patch will catch a SIGINT and pass it as a ctrl-c to the target > when running with the target on stdio. > Just catching SIGINT is kind of a hack. What about SIGSTOP and SIGCONT? If we're going to go this route, we should do it properly by cfmakeraw() stdio instead of trapping individual signals. Regards, Anthony Liguori