block: bdrv_load/save_vmstate() cleanups
Status from this message: Applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | block: Introduce bdrv_preadv()block/ include/ | +14 | 1 reply | |
| 2/6 | block: Make .bdrv_load_vmstate() vectoredblock/ block/ block/ +2 more | +37 | 1 reply | |
| 3/6 | block: Allow .bdrv_load/save_vmstate() to return 0/-errnoblock/ | +14 | 1 reply | |
| 4/6 | block: Make bdrv_load/save_vmstate coroutine_fnsblock/ include/ | +64 | 2 replies | |
| 5/6 | qcow2: Let vmstate call qcow2_co_preadv/pwrite directlyblock/ | +4 | 3 replies | |
| 6/6 | block: Remove bs->zero_beyond_eofblock.c block/ include/ | +23 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eric Blake | Fam Zheng | Stefan Hajnoczi |
|---|---|---|---|
| Series | R-b | R-b | |
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | R-b | ||
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH 0/6] block: bdrv_load/save_vmstate() cleanups
This series contains a few cleanups with respect to the vmstate I/O functions. Apart from making the interface more consistent (writes were already vectored, but not reads), this makes use of the new byte-based .bdrv_co_preadv/pwritev callbacks in qcow2 to get rid of a few hacks, including bs->zero_beyond_eof.
Kevin Wolf (6):
block: Introduce bdrv_preadv()
block: Make .bdrv_load_vmstate() vectored
block: Allow .bdrv_load/save_vmstate() to return 0/-errno
block: Make bdrv_load/save_vmstate coroutine_fns
qcow2: Let vmstate call qcow2_co_preadv/pwrite directly
block: Remove bs->zero_beyond_eof
block.c | 2 - block/io.c | 173 +++++++++++++++++++++++++++++++--------------- block/qcow2.c | 28 ++------ block/sheepdog.c | 13 +++- include/block/block.h | 2 + include/block/block_int.h | 13 ++-- 6 files changed, 143 insertions(+), 88 deletions(-)
Signature · 1 line
1.8.3.1