[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 02/11] qapi/block-core: update documentation of preal
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PULL 02/11] qapi/block-core: update documentation of preallocation parameter |
Date: |
Wed, 12 Jun 2019 18:52:20 +0200 |
From: Stefano Garzarella <address@hidden>
Add default and available values in the documentation block of
each block device or protocol that supports the 'preallocation'
parameter during the image creation.
Suggested-by: Markus Armbruster <address@hidden>
Signed-off-by: Stefano Garzarella <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Markus Armbruster <address@hidden>
---
qapi/block-core.json | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 1defcde048..175ccfe896 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -4121,7 +4121,10 @@
#
# @filename Filename for the new image file
# @size Size of the virtual disk in bytes
-# @preallocation Preallocation mode for the new image (default: off)
+# @preallocation Preallocation mode for the new image (default: off;
+# allowed values: off,
+# falloc (if defined CONFIG_POSIX_FALLOCATE),
+# full (if defined CONFIG_POSIX))
# @nocow Turn off copy-on-write (valid only on btrfs; default: off)
#
# Since: 2.12
@@ -4139,7 +4142,10 @@
#
# @location Where to store the new image file
# @size Size of the virtual disk in bytes
-# @preallocation Preallocation mode for the new image (default: off)
+# @preallocation Preallocation mode for the new image (default: off;
+# allowed values: off,
+# falloc (if defined CONFIG_GLUSTERFS_FALLOCATE),
+# full (if defined CONFIG_GLUSTERFS_ZEROFILL))
#
# Since: 2.12
##
@@ -4243,7 +4249,8 @@
# @backing-fmt Name of the block driver to use for the backing file
# @encrypt Encryption options if the image should be encrypted
# @cluster-size qcow2 cluster size in bytes (default: 65536)
-# @preallocation Preallocation mode for the new image (default: off)
+# @preallocation Preallocation mode for the new image (default: off;
+# allowed values: off, falloc, full, metadata)
# @lazy-refcounts True if refcounts may be updated lazily (default: off)
# @refcount-bits Width of reference counts in bits (default: 16)
#
@@ -4426,7 +4433,8 @@
# @location Where to store the new image file
# @size Size of the virtual disk in bytes
# @backing-file File name of a base image
-# @preallocation Preallocation mode (allowed values: off, full)
+# @preallocation Preallocation mode for the new image (default: off;
+# allowed values: off, full)
# @redundancy Redundancy of the image
# @object-size Object size of the image
#
@@ -4461,8 +4469,8 @@
#
# @file Node to create the image format on
# @size Size of the virtual disk in bytes
-# @preallocation Preallocation mode for the new image (allowed values: off,
-# metadata; default: off)
+# @preallocation Preallocation mode for the new image (default: off;
+# allowed values: off, metadata)
#
# Since: 2.12
##
--
2.21.0
- [Qemu-devel] [PULL 00/11] QAPI patches for 2019-06-12, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 01/11] qdev: Delete unused LostTickPolicy "merge", Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 02/11] qapi/block-core: update documentation of preallocation parameter,
Markus Armbruster <=
- [Qemu-devel] [PULL 08/11] qapi: Disentangle QAPIDoc code, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 06/11] tests/qapi-schema: Test for good feature lists in structs, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 04/11] block/gluster: update .help of BLOCK_OPT_PREALLOC option, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 10/11] file-posix: Add dynamic-auto-read-only QAPI feature, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 11/11] qapi: Simplify how QAPIDoc implements its state machine, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 07/11] tests/qapi-schema: Error case tests for features in structs, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 09/11] qapi: Allow documentation for features, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 03/11] block/file-posix: update .help of BLOCK_OPT_PREALLOC option, Markus Armbruster, 2019/06/12
- [Qemu-devel] [PULL 05/11] qapi: Add feature flags to struct types, Markus Armbruster, 2019/06/12
- Re: [Qemu-devel] [PULL 00/11] QAPI patches for 2019-06-12, Peter Maydell, 2019/06/13