Re: [Qemu-devel] [PATCH v2 3/7] qemu-img: add more conv= conversions to dd

2016-09-13 Thread Stefan Hajnoczi
On Fri, Aug 26, 2016 at 11:16:39AM +0200, Reda Sallahi wrote: > @@ -3968,7 +3963,11 @@ static int img_dd_flag(const char *arg, struct DdIo > *io, > int j; > for (j = 0; flags[j].name != NULL; j++) { > if (!strcmp(tok, flags[j].name)) { > -io->flags |=

[Qemu-devel] [PATCH v2 3/7] qemu-img: add more conv= conversions to dd

2016-08-26 Thread Reda Sallahi
This patch adds excl, nocreat, noerror, sync, fsync, fdatasync and sparse to the conversion list. They have the same meaning as the ones on GNU dd(1). Two tests were added to test the conv= option. Signed-off-by: Reda Sallahi --- qemu-img-cmds.hx | 4 +- qemu-img.c |