Subcommand dd for qemu-img
cover Subcommand dd for qemu-img
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(-)
Signature · 1 line
2.9.0
Quoted 9 lines · Reda Sallahi
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.
dd's syntax looks more like JCL than Unix. Some think that was a prank. It's been faithfully preserved through decades, and now we're even cloning it. Funny :)
PS: Please make sure your patches are properly threaded, i.e. are replies to the cover letter.
http://wiki.qemu-project.org/Contribute/SubmitAPatch#Use_git_format-patch