[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.7 v2 08/17] qemu-io: Add "-L" option for B
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH for-2.7 v2 08/17] qemu-io: Add "-L" option for BDRV_O_NO_LOCK |
Date: |
Tue, 19 Apr 2016 20:59:51 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sat, 04/16 16:46, Denis V. Lunev wrote:
> On 04/15/2016 06:27 AM, Fam Zheng wrote:
> >Signed-off-by: Fam Zheng <address@hidden>
> >---
> > qemu-io.c | 22 ++++++++++++++++++++--
> > 1 file changed, 20 insertions(+), 2 deletions(-)
> >
> >diff --git a/qemu-io.c b/qemu-io.c
> >index 288bba8..6bb6232 100644
> >--- a/qemu-io.c
> >+++ b/qemu-io.c
> >@@ -107,6 +107,7 @@ static void open_help(void)
> > " -r, -- open file read-only\n"
> > " -s, -- use snapshot file\n"
> > " -n, -- disable host cache\n"
> >+" -L, -- disable image lock\n"
> > " -o, -- options to be given to the block driver"
> > "\n");
> > }
> pls add L to .args below
>
> static const cmdinfo_t open_cmd = {
> .name = "open",
> .altname = "o",
> .cfunc = open_f,
> .argmin = 1,
> .argmax = -1,
> .flags = CMD_NOFILE_OK,
> .args = "[-Crsn] [-o options] [path]",
> .oneline = "open the file specified by path",
> .help = open_help,
> };
Will fix it.
Fam
- Re: [Qemu-devel] [PATCH for-2.7 v2 05/17] raw-posix: Implement .bdrv_lockf, (continued)
[Qemu-devel] [PATCH for-2.7 v2 06/17] gluster: Implement .bdrv_lockf, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 07/17] rbd: Implement image locking, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 08/17] qemu-io: Add "-L" option for BDRV_O_NO_LOCK, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 09/17] qemu-img: Add "-L" option to sub commands, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 11/17] qemu-nbd: Add "--no-lock/-L" option, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 12/17] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 13/17] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/04/14
[Qemu-devel] [PATCH for-2.7 v2 14/17] qemu-iotests: Wait for QEMU processes before checking image in 091, Fam Zheng, 2016/04/14