[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Block format 'raw' does not support the option 'locking
From: |
Changlimin |
Subject: |
Re: [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off |
Date: |
Fri, 27 Oct 2017 01:28:10 +0000 |
I tried locking=off, it supports qcow2
-drive file.filename=r
0605-share.img,format=qcow2,if=none,id=drive-virtio-disk1,cache=directsync,aio=native,file.locking=off
Thank you very much.
BR
Chang Limin
-----Original Message-----
From: Max Reitz [mailto:address@hidden
Sent: Thursday, October 26, 2017 3:33 PM
To: changlimin 00148 (Cloud); Fam Zheng
Cc: address@hidden; Qemu-block
Subject: Re: [Qemu-devel] Block format 'raw' does not support the option
'locking' when disable image locking with option locking=off
On 2017-10-26 09:18, Changlimin wrote:
> If the qcow2 file is created with preallocation=full, I think metadata will
> not corrupt when it is shared between two vms? Snapshot is not required.
>
> Is this right?
I wouldn't count on it.
If you really want to take the risk, you can probably use the file.locking=off
option again.
Max