[Qemu-devel] [PATCH v2 2/2] qemu-options: Mention locking option of file driver

Fam Zheng posted 2 patches 8 years, 2 months ago
[Qemu-devel] [PATCH v2 2/2] qemu-options: Mention locking option of file driver
Posted by Fam Zheng 8 years, 2 months ago
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
+lock is applied.  (auto/on/off, default: auto)
 @end table
 Example:
 @example
-- 
2.14.3


Re: [Qemu-devel] [PATCH v2 2/2] qemu-options: Mention locking option of file driver
Posted by Kevin Wolf 8 years, 2 months ago
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

Re: [Qemu-devel] [PATCH v2 2/2] qemu-options: Mention locking option of file driver
Posted by Fam Zheng 8 years, 2 months ago
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