From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4bu7-0003Ec-74 for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:41:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4btf-0003fz-4b for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:40:58 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:47652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4bte-0003ez-PK for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:40:31 -0500 Received: by eeit10 with SMTP id t10so1869053eei.4 for ; Mon, 05 Mar 2012 09:40:28 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 5 Mar 2012 18:40:18 +0100 Message-Id: <1330969225-25287-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] block: convert VDI image format to coroutines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, sw@weilnetz.de Conversion to coroutines simplifies the code and removes the need to duplicate common features of the block layer. Each step in the conversion is detailed in the corresponding commit message. Tested with qemu-iotests. Paolo Bonzini (7): vdi: basic conversion to coroutines vdi: move end-of-I/O handling at the end vdi: merge aio_read_cb and aio_write_cb into callers vdi: move aiocb fields to locals vdi: leave bounce buffering to block layer vdi: do not create useless iovecs vdi: change goto to loop block/vdi.c | 421 +++++++++++++------------------------------------- 2 files changed, 108 insertions(+), 317 deletions(-) -- 1.7.7.6