Re: [PATCH v3 10/11] tests: Add iotest mirror-sparse for recent patches

2025-05-09 Thread Eric Blake
On Thu, Apr 24, 2025 at 07:52:10PM -0500, Eric Blake wrote: > Prove that blockdev-mirror can now result in sparse raw destination > files, regardless of whether the source is raw or qcow2. By making > this a separate test, it was possible to test effects of individual > patches for the various pie

Re: [PATCH v3 10/11] tests: Add iotest mirror-sparse for recent patches

2025-05-01 Thread Eric Blake
On Thu, May 01, 2025 at 01:34:19PM -0400, Stefan Hajnoczi wrote: > On Thu, Apr 24, 2025 at 07:52:10PM -0500, Eric Blake wrote: > > +TEST_IMG="$TEST_IMG.base" _make_test_img 20M > > +$QEMU_IO -c 'w 8M 2M' -f $IMGFMT "$TEST_IMG.base" | _filter_qemu_io > > + > > +_launch_qemu -machine q35 \ > > Does

Re: [PATCH v3 10/11] tests: Add iotest mirror-sparse for recent patches

2025-05-01 Thread Stefan Hajnoczi
On Thu, Apr 24, 2025 at 07:52:10PM -0500, Eric Blake wrote: > +TEST_IMG="$TEST_IMG.base" _make_test_img 20M > +$QEMU_IO -c 'w 8M 2M' -f $IMGFMT "$TEST_IMG.base" | _filter_qemu_io > + > +_launch_qemu -machine q35 \ Does the machine type matter? This test would be more portable without q35. signat

[PATCH v3 10/11] tests: Add iotest mirror-sparse for recent patches

2025-04-24 Thread Eric Blake
Prove that blockdev-mirror can now result in sparse raw destination files, regardless of whether the source is raw or qcow2. By making this a separate test, it was possible to test effects of individual patches for the various pieces that all have to work together for a sparse mirror to be success