Hi, I have a first patch that adds a minimal subcommand dd for qemu-img that is similar to dd(1) so this is a work-in-progress.
So far it implements the bs and count options with of course the if and of options (e.g. ./qemu-img dd if=foo.raw of=foo.qcow2 bs=128K count=10 -O qcow2). There is no output with statistics for now so this acts like dd status=none. Reda Sallahi (1): qemu-img: add the 'dd' subcommand qemu-img-cmds.hx | 6 + qemu-img.c | 833 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 838 insertions(+), 1 deletion(-) -- 2.9.0