qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off
@ 2017-10-25  8:15 Changlimin
  2017-10-25 13:31 ` Fam Zheng
  0 siblings, 1 reply; 8+ messages in thread
From: Changlimin @ 2017-10-25  8:15 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

Hi,
When running Oracle RAC, one image is shared between multiple vms, so I want to disable locking with option locking=off, But Block format 'raw' does not support the option 'locking'.
How to disable locking?

The version is git e822e81e350825dd94f41ee2538ff1432b812eb9

The command line is
-drive file=/var/lib/libvirt/images/r0605-share.img,format=raw,if=none,id=drive-virtio-disk1,cache=directsync,aio=native,locking=off \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0xa,drive=drive-virtio-disk1,id=virtio-disk1 \

The error message is
-drive file=/var/lib/libvirt/images/r0605-share.img,format=raw,if=none,id=drive-virtio-disk1,cache=directsync,aio=native,locking=off: Block format 'raw' does not support the option 'locking'

BR
Chang Limin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-31 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25  8:15 [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off Changlimin
2017-10-25 13:31 ` Fam Zheng
2017-10-26  1:06   ` Changlimin
2017-10-26  7:11     ` Max Reitz
2017-10-26  7:18       ` Changlimin
2017-10-26  7:32         ` Max Reitz
2017-10-27  1:28           ` Changlimin
2017-10-31 20:00         ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).