qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/11] block: Use BB function in .bdrv_create() implementations
@ 2016-03-08 16:34 Kevin Wolf
  2016-03-08 16:34 ` [Qemu-devel] [PATCH 01/11] block: Use writeback " Kevin Wolf
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: Kevin Wolf @ 2016-03-08 16:34 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, qemu-devel

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-03-14 17:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 16:34 [Qemu-devel] [PATCH 00/11] block: Use BB function in .bdrv_create() implementations Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 01/11] block: Use writeback " Kevin Wolf
2016-03-09 12:14   ` Paolo Bonzini
2016-03-09 12:27     ` Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 02/11] block: Introduce blk_set_allow_write_beyond_eof() Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 03/11] parallels: Use BB functions in .bdrv_create() Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 04/11] qcow: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 05/11] qcow2: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 06/11] qed: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 07/11] sheepdog: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 08/11] vdi: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 09/11] vhdx: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 10/11] vmdk: " Kevin Wolf
2016-03-08 16:34 ` [Qemu-devel] [PATCH 11/11] vpc: " Kevin Wolf
2016-03-14 11:31 ` [Qemu-devel] [PATCH 00/11] block: Use BB function in .bdrv_create() implementations Kevin Wolf
2016-03-14 16:55   ` Max Reitz
2016-03-14 17:34     ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).