From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adKas-0001Mn-Ui for qemu-devel@nongnu.org; Tue, 08 Mar 2016 11:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adKap-0002f1-0M for qemu-devel@nongnu.org; Tue, 08 Mar 2016 11:34:46 -0500 From: Kevin Wolf Date: Tue, 8 Mar 2016 17:34:21 +0100 Message-Id: <1457454872-12183-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 00/11] block: Use BB function in .bdrv_create() implementations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org All users of the block layers are supposed to go through a BlockBackend. The .bdrv_create() implementations are such users, so this series converts them. This series (specifically patch 1) will also help with moving the writethrough cache implementation from BDS to BB, where it really belongs. Once this is moved, it wouldn't be possible to use bdrv_open() to use a standalone BDS writethrough any more. Of course, writethrough doesn't make any sense in .bdrv_create() anyway, so while I'm still converting everything to BB where it would keep working (because that's the Right Thing), the drivers don't actually make use of this fact any more after this series. Kevin Wolf (11): block: Use writeback in .bdrv_create() implementations block: Introduce blk_set_allow_write_beyond_eof() parallels: Use BB functions in .bdrv_create() qcow: Use BB functions in .bdrv_create() qcow2: Use BB functions in .bdrv_create() qed: Use BB functions in .bdrv_create() sheepdog: Use BB functions in .bdrv_create() vdi: Use BB functions in .bdrv_create() vhdx: Use BB functions in .bdrv_create() vmdk: Use BB functions in .bdrv_create() vpc: Use BB functions in .bdrv_create() block/block-backend.c | 23 +++++++++---- block/parallels.c | 24 ++++++++------ block/qcow.c | 24 ++++++++------ block/qcow2.c | 61 ++++++++++++++++++---------------- block/qed.c | 28 ++++++++-------- block/sheepdog.c | 41 +++++++++++++---------- block/vdi.c | 22 ++++++++----- block/vhdx.c | 28 +++++++++------- block/vmdk.c | 74 ++++++++++++++++++++++++------------------ block/vpc.c | 36 +++++++++++--------- include/sysemu/block-backend.h | 1 + 11 files changed, 211 insertions(+), 151 deletions(-) -- 1.8.3.1