From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9jZg-0006PR-KU for qemu-devel@nongnu.org; Wed, 05 May 2010 14:44:00 -0400 Received: from [140.186.70.92] (port=56739 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9jZe-0006Oq-SH for qemu-devel@nongnu.org; Wed, 05 May 2010 14:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9jZb-0005uA-DJ for qemu-devel@nongnu.org; Wed, 05 May 2010 14:43:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59294) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9jZb-0005u4-4g for qemu-devel@nongnu.org; Wed, 05 May 2010 14:43:55 -0400 Message-ID: <4BE1BC5D.6040909@redhat.com> Date: Wed, 05 May 2010 20:43:41 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1273009170-17530-1-git-send-email-amit.shah@redhat.com> <1273009170-17530-5-git-send-email-amit.shah@redhat.com> <4BE16FB5.6040708@codemonkey.ws> <201005051434.20020.paul@codesourcery.com> <4BE1785B.6010208@codemonkey.ws> In-Reply-To: <4BE1785B.6010208@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v7 4/6] char: Add qemu_chr_write_nb() for nonblocking writes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Amit Shah , Juan Quintela , Paul Brook , qemu list On 05/05/10 15:53, Anthony Liguori wrote: > This patch adds optional control flow in a pretty crufty way to *some* > backends but not all. This just adds a bunch of complexity that will > certainly introduce bugs. Amit plans to add support to the others as well. Beside that there is a clearly defined backup plan: In case the non-blocking interface isn't supported by $chardev it will fallback to use the blocking mode. cheers, Gerd