|
|
9bac43 |
From 47c794c7f8010caf97447badfb059fc8fd6aa89f Mon Sep 17 00:00:00 2001
|
|
|
9bac43 |
From: Fam Zheng <famz@redhat.com>
|
|
|
9bac43 |
Date: Thu, 30 Nov 2017 09:25:43 +0100
|
|
|
9bac43 |
Subject: [PATCH 06/36] qemu-options: Mention locking option of file driver
|
|
|
9bac43 |
|
|
|
9bac43 |
RH-Author: Fam Zheng <famz@redhat.com>
|
|
|
9bac43 |
Message-id: <20171130092544.19231-5-famz@redhat.com>
|
|
|
9bac43 |
Patchwork-id: 78018
|
|
|
9bac43 |
O-Subject: [RHV7.5 qemu-kvm-ma PATCH 4/5] qemu-options: Mention locking option of file driver
|
|
|
9bac43 |
Bugzilla: 1494210
|
|
|
9bac43 |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: John Snow <jsnow@redhat.com>
|
|
|
9bac43 |
|
|
|
9bac43 |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
9bac43 |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
9bac43 |
(cherry picked from commit 1878eaff9bdeece4546d4f9587e6c75ab0b79b8b)
|
|
|
9bac43 |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
9bac43 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9bac43 |
---
|
|
|
9bac43 |
qemu-options.hx | 4 ++++
|
|
|
9bac43 |
1 file changed, 4 insertions(+)
|
|
|
9bac43 |
|
|
|
9bac43 |
diff --git a/qemu-options.hx b/qemu-options.hx
|
|
|
9bac43 |
index 50ba50e..5878359 100644
|
|
|
9bac43 |
--- a/qemu-options.hx
|
|
|
9bac43 |
+++ b/qemu-options.hx
|
|
|
9bac43 |
@@ -693,6 +693,10 @@ This is the protocol-level block driver for accessing regular files.
|
|
|
9bac43 |
The path to the image file in the local filesystem
|
|
|
9bac43 |
@item aio
|
|
|
9bac43 |
Specifies the AIO backend (threads/native, default: threads)
|
|
|
9bac43 |
+@item locking
|
|
|
9bac43 |
+Specifies whether the image file is protected with Linux OFD / POSIX locks. The
|
|
|
9bac43 |
+default is to use the Linux Open File Descriptor API if available, otherwise no
|
|
|
9bac43 |
+lock is applied. (auto/on/off, default: auto)
|
|
|
9bac43 |
@end table
|
|
|
9bac43 |
Example:
|
|
|
9bac43 |
@example
|
|
|
9bac43 |
--
|
|
|
9bac43 |
1.8.3.1
|
|
|
9bac43 |
|