qemu-options: Mention locking option of file driver
authorFam Zheng <famz@redhat.com>
Fri, 24 Nov 2017 08:53:51 +0000 (16:53 +0800)
committerKevin Wolf <kwolf@redhat.com>
Mon, 27 Nov 2017 10:25:41 +0000 (11:25 +0100)
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-options.hx

index 3728e9b4ddfd79f6a89b0fd690db56914b8d1e02..f11c4ac960ff4046704e57b86613965f5a1674fb 100644 (file)
@@ -693,6 +693,10 @@ This is the protocol-level block driver for accessing regular files.
 The path to the image file in the local filesystem
 @item aio
 Specifies the AIO backend (threads/native, default: threads)
+@item locking
+Specifies whether the image file is protected with Linux OFD / POSIX locks. The
+default is to use the Linux Open File Descriptor API if available, otherwise no
+lock is applied.  (auto/on/off, default: auto)
 @end table
 Example:
 @example