From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTFK6-0006ww-Vt for qemu-devel@nongnu.org; Wed, 23 Nov 2011 11:05:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTFK1-0008AS-Bp for qemu-devel@nongnu.org; Wed, 23 Nov 2011 11:05:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:19882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTFK1-0008AL-48 for qemu-devel@nongnu.org; Wed, 23 Nov 2011 11:05:17 -0500 Message-ID: <4ECD1A63.3000402@redhat.com> Date: Wed, 23 Nov 2011 17:08:03 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1322060404-15494-1-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1322060404-15494-1-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] cow: use bdrv_co_is_allocated() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Am 23.11.2011 16:00, schrieb Stefan Hajnoczi: > Now that bdrv_co_is_allocated() is available we can use it instead of > the synchronous bdrv_is_allocated() interface. This is a follow-up that > Kevin Wolf pointed out after applying the series that > introduces bdrv_co_is_allocated(). > > It is safe to make cow_read() a coroutine_fn because its only caller is > a coroutine_fn. > > Signed-off-by: Stefan Hajnoczi Thanks, applied to the block branch (for 1.1) Kevin