Re: [Qemu-devel] [PATCH RFC 0/5] generic image locking and crash recovery

2015-12-23 Thread Denis V. Lunev
On 12/23/2015 11:09 AM, Fam Zheng wrote: On Wed, 12/23 10:46, Denis V. Lunev wrote: This series of patches is aimed to prevent usage of image file by different qemu instances. In case we are the first instance, and option lock is lockfile, - we lock the image file, and if check option is on, we

Re: [Qemu-devel] [PATCH RFC 0/5] generic image locking and crash recovery

2015-12-23 Thread Fam Zheng
On Wed, 12/23 10:46, Denis V. Lunev wrote: > This series of patches is aimed to prevent usage of image > file by different qemu instances. In case we are the first > instance, and option lock is lockfile, - we lock the image file, > and if check option is on, we check the file and fix it if > nesse

[Qemu-devel] [PATCH RFC 0/5] generic image locking and crash recovery

2015-12-22 Thread Denis V. Lunev
This series of patches is aimed to prevent usage of image file by different qemu instances. In case we are the first instance, and option lock is lockfile, - we lock the image file, and if check option is on, we check the file and fix it if nessecary. If one of this two ops fails - the image is clo