Re: [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img

2016-06-23 Thread Markus Armbruster
Reda Sallahi  writes:

> 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



[Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img

2016-06-22 Thread 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.


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