All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] qemu-img convert: Rewrite copying logic
@ 2015-03-19 12:33 Kevin Wolf
  2015-03-19 12:33 ` [Qemu-devel] [PATCH v2 1/3] block-backend: Expose bdrv_write_zeroes() Kevin Wolf
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kevin Wolf @ 2015-03-19 12:33 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, pl, qemu-devel, stefanha, mreitz

See the commit message of patch 2 for the background.

v2:
- Rebased. Commit f1d3cd79 changed many bdrv_* calls to blk_* calls.
  This version tries to keep those conversions and use BlockBackend
  where qemu.git master does or where it makes sense. Added patch 1 to
  get blk_write_zeroes().
- Renamed s->out_backing as s->target_has_backing [Max]
- convert_iteration_sectors(): Limit n to BDRV_REQUEST_MAX_SECTORS
  instead of INT_MAX [Max]
- convert_read(): Fixed sector number for image concatenation [Max]
- Fixed -S 0 for full allocation [Max, Peter]
- Leave has_zero_init = false instead of failing the conversion if
  bdrv_make_zero() returns an error [Max]
- Set has_zero_init = true instead of 1 [Max]
- Don't ignore error returns in a final blk_write_compressed() [Max]
- Removed TODO comment after deciding that no change is needed
- Many added tests

Kevin Wolf (3):
  block-backend: Expose bdrv_write_zeroes()
  qemu-img convert: Rewrite copying logic
  qemu-iotests: Some qemu-img convert tests

 block/block-backend.c          |  11 +
 include/sysemu/block-backend.h |   2 +
 qemu-img.c                     | 516 +++++++++++++++++++++++++----------------
 tests/qemu-iotests/122         | 223 ++++++++++++++++++
 tests/qemu-iotests/122.out     | 209 +++++++++++++++++
 tests/qemu-iotests/group       |   1 +
 6 files changed, 756 insertions(+), 206 deletions(-)
 create mode 100755 tests/qemu-iotests/122
 create mode 100644 tests/qemu-iotests/122.out

-- 
1.8.3.1

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

end of thread, other threads:[~2015-04-02  9:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 12:33 [Qemu-devel] [PATCH v2 0/3] qemu-img convert: Rewrite copying logic Kevin Wolf
2015-03-19 12:33 ` [Qemu-devel] [PATCH v2 1/3] block-backend: Expose bdrv_write_zeroes() Kevin Wolf
2015-03-19 13:27   ` Max Reitz
2015-03-19 12:33 ` [Qemu-devel] [PATCH v2 2/3] qemu-img convert: Rewrite copying logic Kevin Wolf
2015-03-19 13:53   ` Max Reitz
2015-03-19 12:33 ` [Qemu-devel] [PATCH v2 3/3] qemu-iotests: Some qemu-img convert tests Kevin Wolf
2015-03-19 14:44   ` Max Reitz
2015-03-19 14:44     ` Max Reitz
2015-04-02  9:53 ` [Qemu-devel] [PATCH v2 0/3] qemu-img convert: Rewrite copying logic Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.