diff mbox series

[v2,2/2] qemu-options: Mention locking option of file driver

Message ID 20171124085351.26386-3-famz@redhat.com
State New
Headers show
Series docs: Add documentation for image locking | expand

Commit Message

Fam Zheng Nov. 24, 2017, 8:53 a.m. UTC
Signed-off-by: Fam Zheng <famz@redhat.com>
---
 qemu-options.hx | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Kevin Wolf Nov. 24, 2017, 3:24 p.m. UTC | #1
Am 24.11.2017 um 09:53 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
>  qemu-options.hx | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 3728e9b4dd..f10c2a3ddb 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -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 avaiable, otherwise no

s/avaiable/available/

I'll fix this while applying.

> +lock is applied.  (auto/on/off, default: auto)
>  @end table
>  Example:
>  @example

Kevin
Fam Zheng Nov. 28, 2017, 2:26 a.m. UTC | #2
On Fri, 11/24 16:24, Kevin Wolf wrote:
> > @@ -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 avaiable, otherwise no
> 
> s/avaiable/available/
> 
> I'll fix this while applying.
> 

Thanks!

Fam
diff mbox series

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index 3728e9b4dd..f10c2a3ddb 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -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 avaiable, otherwise no
+lock is applied.  (auto/on/off, default: auto)
 @end table
 Example:
 @example