qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] block/qcow2: Image file option amendment
@ 2013-08-30 10:27 Max Reitz
  2013-08-30 10:27 ` [Qemu-devel] [PATCH v3 1/3] block: " Max Reitz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Max Reitz @ 2013-08-30 10:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Stefan Hajnoczi, Max Reitz

This series adds support to qemu-img, block and qcow2 for amending image
options on existing image files.

Depends on:
 - option: Add assigned flag to QEMUOptionParameter
 - qcow2: Snapshot update for zero clusters (series, v2)

v3:
 - deallocate non-preallocated zero clusters on non-backed images instead
   of zero expanding them
 - qcow2 version downgrade: error out on refcount_order != 4
 - implemented Eric's comments regarding the qemu-img amend and img_amend
   itself

v2:
 - Generally implemented Kevin's comments, especially:
   - Zero cluster expansion for inactive L2 tables
   - Correct handling of preallocated zero clusters
   - More test cases

Max Reitz (3):
  block: Image file option amendment
  qcow2: Implement bdrv_amend_options
  qemu-iotest: qcow2 image option amendment

 block.c                    |   8 ++
 block/qcow2-cluster.c      | 165 +++++++++++++++++++++++
 block/qcow2.c              | 194 ++++++++++++++++++++++++++-
 block/qcow2.h              |   3 +
 include/block/block.h      |   2 +
 include/block/block_int.h  |   3 +
 qemu-img-cmds.hx           |   6 +
 qemu-img.c                 |  84 ++++++++++++
 qemu-img.texi              |   5 +
 tests/qemu-iotests/061     | 152 ++++++++++++++++++++++
 tests/qemu-iotests/061.out | 318 +++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |   1 +
 12 files changed, 940 insertions(+), 1 deletion(-)
 create mode 100755 tests/qemu-iotests/061
 create mode 100644 tests/qemu-iotests/061.out

-- 
1.8.3.1

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

end of thread, other threads:[~2013-09-02  7:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30 10:27 [Qemu-devel] [PATCH v3 0/3] block/qcow2: Image file option amendment Max Reitz
2013-08-30 10:27 ` [Qemu-devel] [PATCH v3 1/3] block: " Max Reitz
2013-08-30 10:27 ` [Qemu-devel] [PATCH v3 2/3] qcow2: Implement bdrv_amend_options Max Reitz
2013-09-02  3:43   ` Fam Zheng
2013-09-02  7:43     ` Max Reitz
2013-09-02  7:55     ` Kevin Wolf
2013-08-30 10:27 ` [Qemu-devel] [PATCH v3 3/3] qemu-iotest: qcow2 image option amendment Max Reitz

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).