|
From: | Denis V. Lunev |
Subject: | Re: [Qemu-devel] [PATCH for-2.7 v2 08/17] qemu-io: Add "-L" option for BDRV_O_NO_LOCK |
Date: | Sat, 16 Apr 2016 16:46:09 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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, };
[Prev in Thread] | Current Thread | [Next in Thread] |