Re: [Qemu-devel] [PATCH v2 5/7] qemu-img: add status option to dd

2016-09-13 Thread Stefan Hajnoczi
On Fri, Aug 26, 2016 at 11:16:41AM +0200, Reda Sallahi wrote: > +static int img_dd_status(const char *arg, > + struct DdIo *in, struct DdIo *out, > + struct DdInfo *dd) > +{ > +const struct DdSymbols dd_status[] = { > +{ "none", C_STATUS_N

[Qemu-devel] [PATCH v2 5/7] qemu-img: add status option to dd

2016-08-26 Thread Reda Sallahi
This patch adds the status option to the subcommand dd. With this dd will display by default the number of blocks read/written, the transfer rate, etc. like dd(1). The noxfer and none levels will allow the user to surpress the final transfer statistics and everything except error messages respecti