Skip to contentSkip to conversation

qapi: Document introduction of gluster's 'debug' option

PATCH Applied Eric Blake 2 participants 2 messages Dec 6, 2016

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 qapi: Document introduction of gluster's 'debug' option

We intentionally renamed 'debug-level' to 'debug' in the QMP schema for 'blockdev-add' related to gluster, in order to match the command line (commit 1a417e46). However, since 'debug-level' was visible in 2.7, that means that we should document that 'debug' was not available until 2.8.

The change was intentional because 'blockdev-add' itself underwent incompatible changes (such as commit 0153d2f) for the same release; our intent is that after 2.8, these interfaces will now be stable. [In hindsight, we should have used the name x-blockdev-add when we first introduced it]

---
 qapi/block-core.json | 1 +
 1 file changed, 1 insertion(+)
qapi/block-core.json +1 -0
index a298e76..6b42216 100644
@@ -2196,6 +2196,7 @@
 # @server:      gluster servers description
 #
 # @debug:       #optional libgfapi log level (default '4' which is Error)
+#               (Since 2.8)
 #
 # @logfile:     #optional libgfapi log file (default /dev/stderr) (Since 2.8)
 #
Signature · 1 line
2.9.3
#1 lore raw
Quoted 12 lines · Eric Blake

We intentionally renamed 'debug-level' to 'debug' in the QMP schema for 'blockdev-add' related to gluster, in order to match the command line (commit 1a417e46). However, since 'debug-level' was visible in 2.7, that means that we should document that 'debug' was not available until 2.8.

The change was intentional because 'blockdev-add' itself underwent incompatible changes (such as commit 0153d2f) for the same release; our intent is that after 2.8, these interfaces will now be stable. [In hindsight, we should have used the name x-blockdev-add when we first introduced it]

Quoted 4 lines
---
 qapi/block-core.json | 1 +
 1 file changed, 1 insertion(+)

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan