Message ID | 1463089170-30550-2-git-send-email-eblake@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 12.05.2016 23:39, Eric Blake wrote: > Commit 770e0e0e [*] forgot to implement 'writev -f'. Likewise, > commit c3e001c forgot to implement 'aio_write -u -z'. *c2e001c I can fix that while applying, though. Max > > [*] does it sound "ech0e" in here? :) > > Signed-off-by: Eric Blake <eblake@redhat.com> > --- > qemu-io-cmds.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c > index 4a00bc6..415be25 100644 > --- a/qemu-io-cmds.c > +++ b/qemu-io-cmds.c > @@ -1150,7 +1150,7 @@ static int writev_f(BlockBackend *blk, int argc, char **argv) > int pattern = 0xcd; > QEMUIOVector qiov; > > - while ((c = getopt(argc, argv, "CqP:")) != -1) { > + while ((c = getopt(argc, argv, "CfqP:")) != -1) { > switch (c) { > case 'C': > Cflag = true; > @@ -1595,7 +1595,7 @@ static int aio_write_f(BlockBackend *blk, int argc, char **argv) > int flags = 0; > > ctx->blk = blk; > - while ((c = getopt(argc, argv, "CfqP:z")) != -1) { > + while ((c = getopt(argc, argv, "CfqP:uz")) != -1) { > switch (c) { > case 'C': > ctx->Cflag = true; >
On 13.05.2016 13:55, Max Reitz wrote: > On 12.05.2016 23:39, Eric Blake wrote: >> Commit 770e0e0e [*] forgot to implement 'writev -f'. Likewise, >> commit c3e001c forgot to implement 'aio_write -u -z'. > > *c2e001c > > I can fix that while applying, though. (With that fixed: Reviewed-by: Max Reitz <mreitz@redhat.com> )
diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 4a00bc6..415be25 100644 --- a/qemu-io-cmds.c +++ b/qemu-io-cmds.c @@ -1150,7 +1150,7 @@ static int writev_f(BlockBackend *blk, int argc, char **argv) int pattern = 0xcd; QEMUIOVector qiov; - while ((c = getopt(argc, argv, "CqP:")) != -1) { + while ((c = getopt(argc, argv, "CfqP:")) != -1) { switch (c) { case 'C': Cflag = true; @@ -1595,7 +1595,7 @@ static int aio_write_f(BlockBackend *blk, int argc, char **argv) int flags = 0; ctx->blk = blk; - while ((c = getopt(argc, argv, "CfqP:z")) != -1) { + while ((c = getopt(argc, argv, "CfqP:uz")) != -1) { switch (c) { case 'C': ctx->Cflag = true;
Commit 770e0e0e [*] forgot to implement 'writev -f'. Likewise, commit c3e001c forgot to implement 'aio_write -u -z'. [*] does it sound "ech0e" in here? :) Signed-off-by: Eric Blake <eblake@redhat.com> --- qemu-io-cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)