* [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img
@ 2016-06-22 17:19 Reda Sallahi
2016-06-23 7:19 ` Markus Armbruster
0 siblings, 1 reply; 2+ messages in thread
From: Reda Sallahi @ 2016-06-22 17:19 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, mreitz, qemu-block, stefanha, famz
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img
2016-06-22 17:19 [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img Reda Sallahi
@ 2016-06-23 7:19 ` Markus Armbruster
0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2016-06-23 7:19 UTC (permalink / raw)
To: Reda Sallahi; +Cc: qemu-devel, kwolf, famz, stefanha, qemu-block, mreitz
Reda Sallahi <fullmanet@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-23 7:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-22 17:19 [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img Reda Sallahi
2016-06-23 7:19 ` Markus Armbruster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).