Re: [Qemu-devel] [PATCH v3] qemu-img: add skip option to dd

2016-07-28 Thread Fam Zheng
On Wed, 07/27 16:51, Reda Sallahi wrote: > +for skip in $TEST_SKIP_BLOCKS; do > +echo > +echo "== Creating image ==" > + > +size=1M > +_make_test_img $size > +_check_test_img > +$QEMU_IO -c "write -P 0xa 0 $size" "$TEST_IMG" | _filter_qemu_io I think the data pattern could

[Qemu-devel] [PATCH v3] qemu-img: add skip option to dd

2016-07-27 Thread Reda Sallahi
This adds the skip option which allows qemu-img dd to skip a number of blocks before copying the input. A test case was added to test the skip option. Signed-off-by: Reda Sallahi --- Depends on: [PATCH v6] qemu-img: add the 'dd' subcommand Changes from v2: * Delete a tab that sneaked in (test c