From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNHEP-00015K-1i for qemu-devel@nongnu.org; Tue, 12 Sep 2006 18:59:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNHEK-000155-LT for qemu-devel@nongnu.org; Tue, 12 Sep 2006 18:59:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNHEK-000152-G8 for qemu-devel@nongnu.org; Tue, 12 Sep 2006 18:59:48 -0400 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNHFu-0008TG-Nc for qemu-devel@nongnu.org; Tue, 12 Sep 2006 19:01:27 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Added new device: Interrupted system call Date: Tue, 12 Sep 2006 23:59:44 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609122359.44589.paul@codesourcery.com> 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 On Tuesday 12 September 2006 23:51, Alessandro Corradi wrote: > Hi, > I wrote a device that is connect to a host program for data exchange via > socket. > The problem is that qemu do something and block the socket system call. If > I "capture" the perror it return (in the host): > > Interrupted system call This is normal. You need to read the documentation for recv(), in particular the bit about EINTR. Paul