From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFlol-0001P3-1I for qemu-devel@nongnu.org; Wed, 22 Jun 2016 13:20:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFlog-0007Jh-NG for qemu-devel@nongnu.org; Wed, 22 Jun 2016 13:19:57 -0400 Date: Wed, 22 Jun 2016 19:19:44 +0200 From: Reda Sallahi Message-ID: <20160622171935.GA4620@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH RFC 0/1] Subcommand dd for qemu-img List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, mreitz@redhat.com, qemu-block@nongnu.org, stefanha@redhat.com, famz@redhat.com 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