Re: [Qemu-devel] [PATCH v10] qemu-io: add pattern file for write command

2019-08-20 Thread Max Reitz
On 20.08.19 19:24, Eric Blake wrote: > On 8/20/19 11:46 AM, Denis Plotnikov wrote: >> The patch allows to provide a pattern file for write >> command. There was no similar ability before. >> >> Signed-off-by: Denis Plotnikov >> --- > >> @@ -983,8 +1057,9 @@ static int write_f(BlockBackend *blk, i

Re: [Qemu-devel] [PATCH v10] qemu-io: add pattern file for write command

2019-08-20 Thread John Snow
On 8/20/19 1:24 PM, Eric Blake wrote: > On 8/20/19 11:46 AM, Denis Plotnikov wrote: >> The patch allows to provide a pattern file for write >> command. There was no similar ability before. >> >> Signed-off-by: Denis Plotnikov >> --- > >> @@ -983,8 +1057,9 @@ static int write_f(BlockBackend *bl

Re: [Qemu-devel] [PATCH v10] qemu-io: add pattern file for write command

2019-08-20 Thread Eric Blake
On 8/20/19 11:46 AM, Denis Plotnikov wrote: > The patch allows to provide a pattern file for write > command. There was no similar ability before. > > Signed-off-by: Denis Plotnikov > --- > @@ -983,8 +1057,9 @@ static int write_f(BlockBackend *blk, int argc, char > **argv) > /* Some compil

[Qemu-devel] [PATCH v10] qemu-io: add pattern file for write command

2019-08-20 Thread Denis Plotnikov
The patch allows to provide a pattern file for write command. There was no similar ability before. Signed-off-by: Denis Plotnikov --- v10: * fix overflow [Max] * remove casting to bool [Max, Eric] * fix wording [Max] v9: * replace flag cast to int with bool [Eric] * fix the error messa