Re: [Qemu-devel] [PATCH v5 14/27] qemu-img: Add "-L" option to sub commands

2016-06-02 Thread Max Reitz
On 01.06.2016 07:34, Fam Zheng wrote: > On Tue, 05/24 20:06, Max Reitz wrote: [...] >> Also: Should we have distinct flags for source and target for convert? >> For instance, I can imagine someone wanting not to lock the source but >> leave the target in default exclusive mode. > > "-L" is a sho

Re: [Qemu-devel] [PATCH v5 14/27] qemu-img: Add "-L" option to sub commands

2016-05-31 Thread Fam Zheng
On Tue, 05/24 20:06, Max Reitz wrote: > On 17.05.2016 09:35, Fam Zheng wrote: > > If specified, BDRV_O_NO_LOCK flag will be set when opening the image. > > > > Signed-off-by: Fam Zheng > > --- > > qemu-img.c | 89 > > ++ > > 1 file cha

Re: [Qemu-devel] [PATCH v5 14/27] qemu-img: Add "-L" option to sub commands

2016-05-24 Thread Max Reitz
On 17.05.2016 09:35, Fam Zheng wrote: > If specified, BDRV_O_NO_LOCK flag will be set when opening the image. > > Signed-off-by: Fam Zheng > --- > qemu-img.c | 89 > ++ > 1 file changed, 72 insertions(+), 17 deletions(-) > > diff --gi

[Qemu-devel] [PATCH v5 14/27] qemu-img: Add "-L" option to sub commands

2016-05-17 Thread Fam Zheng
If specified, BDRV_O_NO_LOCK flag will be set when opening the image. Signed-off-by: Fam Zheng --- qemu-img.c | 89 ++ 1 file changed, 72 insertions(+), 17 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 4792366..b13755b 100644