Re: [PATCH 1/2] qemu: introduce locking option for disk source of qemu

2021-01-25 Thread Daniel P . Berrangé
On Sat, Jan 23, 2021 at 11:12:15AM +0100, Peter Krempa wrote: > On Fri, Jan 22, 2021 at 21:32:05 -0500, Masayoshi Mizuma wrote: > > From: Masayoshi Mizuma > > > > Introduce locking option for disk source of qemu. > > It may be useful to avoid file lock issues. > > Lock issues usually mean that

Re: [PATCH 1/2] qemu: introduce locking option for disk source of qemu

2021-01-23 Thread Peter Krempa
On Fri, Jan 22, 2021 at 21:32:05 -0500, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > Introduce locking option for disk source of qemu. > It may be useful to avoid file lock issues. Lock issues usually mean that you are doing something wrong. > locking option supports three switches;

[PATCH 1/2] qemu: introduce locking option for disk source of qemu

2021-01-22 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Introduce locking option for disk source of qemu. It may be useful to avoid file lock issues. locking option supports three switches; 'auto', 'on' and 'off'. The default behaivor will work if locking option isn't set. Example of the usage: