Message ID | 20171124085351.26386-3-famz@redhat.com |
---|---|
State | New |
Headers | show |
Series | docs: Add documentation for image locking | expand |
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
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 --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
Signed-off-by: Fam Zheng <famz@redhat.com> --- qemu-options.hx | 4 ++++ 1 file changed, 4 insertions(+)