From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPeB6-0006Ig-H1 for qemu-devel@nongnu.org; Mon, 17 May 2004 05:12:56 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPeAL-0005x5-B1 for qemu-devel@nongnu.org; Mon, 17 May 2004 05:12:40 -0400 Received: from [195.9.147.9] (helo=dionis.simtreas.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPeAJ-0005nS-98 for qemu-devel@nongnu.org; Mon, 17 May 2004 05:12:08 -0400 Received: from simtreas.ru (IDENT:1000@dzo.ufk.ufk68.minfin.ru [10.68.0.2]) by dionis.simtreas.ru (8.9.3/8.9.3) with ESMTP id NAA31290 for ; Mon, 17 May 2004 13:11:46 +0400 Message-ID: <40A88258.1050406@simtreas.ru> Date: Mon, 17 May 2004 13:14:00 +0400 From: "Vladimir N. Oleynik" MIME-Version: 1.0 References: <200405161546.i4GFkHOR031617@treas.simtreas.ru> In-Reply-To: <200405161546.i4GFkHOR031617@treas.simtreas.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] vl.c -EAGAIN 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 Hi. I confused with code from vl.c (1714 line in 0.5.5) } else if (errno != -EAGAIN) { ioh->fd_read(ioh->opaque, NULL, -errno); Why -EAGAIN? Copy-paste from kernel? ;-) May be } else if (errno != EAGAIN) { ioh->fd_read(ioh->opaque, NULL, ioh->max_size); ? --w vodz