[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] qemu-iotest: qcow2 image option amendment
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] qemu-iotest: qcow2 image option amendment |
Date: |
Wed, 28 Aug 2013 13:54:31 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 28.08.2013 um 13:47 hat Max Reitz geschrieben:
> Am 28.08.2013 13:40, schrieb Kevin Wolf:
> >Am 28.08.2013 um 10:08 hat Max Reitz geschrieben:
> >>Add tests for qemu-img amend on qcow2 image files.
> >>
> >>Signed-off-by: Max Reitz <address@hidden>
> >>---
> >>This test is numbered 061 for not interfering with my "metadata overlap
> >>checks" series (although I will have to adapt my code to those new checks
> >>anyway when/if they are included in master).
> >>---
> >> tests/qemu-iotests/061 | 121 +++++++++++++++++++
> >> tests/qemu-iotests/061.out | 289
> >> +++++++++++++++++++++++++++++++++++++++++++++
> >> tests/qemu-iotests/group | 1 +
> >> 3 files changed, 411 insertions(+)
> >> create mode 100755 tests/qemu-iotests/061
> >> create mode 100644 tests/qemu-iotests/061.out
> >The existing cases look good. I would add some _check_test_img calls
> >after each amendment, and perhaps include a few cases with non-standard
> >cluster_size etc. during image creation (which would show that your TODO
> >isn't addressed yet).
> >
> >Kevin
> >
> Ah, right, because it won't be 0 but DEFAULT_CLUSTER_SIZE then… Hm.
> So, generally, right now I can just check whether the value differs
> and is not DEFAULT_CLUSTER_SIZE (which would obviously silently
> ignore the flag when cluster_size=$DEFAULT_CLUSTER_SIZE was given)?
I think the TODO needs to be addressed before the series can be merged,
so discussing what you could do or not right now is moot.
Kevin
[Qemu-devel] [PATCH 1/3] block: Image file option amendment, Max Reitz, 2013/08/28
[Qemu-devel] [PATCH 2/3] qcow2: Implement bdrv_amend_options, Max Reitz, 2013/08/28