Skip to contentSkip to conversation

block/gluster: fix doc in the qapi schema and member name

PATCH Applied Prasanna Kumar Kalever 4 participants 5 messages Jul 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 block/gluster: fix doc in the qapi schema and member name

1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/
2. rearrange the versioning
3. s/server description/servers description/

v2: address review comments given by Eric Blake
v1: Initial patch

---
 qapi/block-core.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +3 -3
index f462345..cd14e57 100644
@@ -1688,9 +1688,9 @@
 # Drivers that are supported in block device operations.
 #
 # @host_device, @host_cdrom: Since 2.1
+# @gluster: Since 2.7
 #
 # Since: 2.0
-# @gluster: Since 2.7
 ##
 { 'enum': 'BlockdevDriver',
   'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
@@ -2134,7 +2134,7 @@
 #
 # @path:        absolute path to image file in gluster volume
 #
-# @server:      gluster server description
+# @server:      gluster servers description
 #
 # @debug-level: #optional libgfapi log level (default '4' which is Error)
 #
@@ -2144,7 +2144,7 @@
   'data': { 'volume': 'str',
             'path': 'str',
             'server': ['GlusterServer'],
-            '*debug_level': 'int' } }
+            '*debug-level': 'int' } }
 
 ##
 # @BlockdevOptions
Signature · 1 line
2.7.4
Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Prasanna Kumar Kalever

1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/
2. rearrange the versioning
3. s/server description/servers description/

This part is fine.

Quoted 2 lines

v2: address review comments given by Eric Blake
v1: Initial patch

But these lines...

Quoted 1 line

---

...should be here. They are useful to reviewers, but do not need to clutter qemu.git, so putting them after the separator lets 'git am' automatically strip them.

The maintainer can probably fix that without needing a respin.

Quoted 3 lines
 qapi/block-core.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Must go in during hard freeze for 2.7, otherwise it would be an ABI change compared to released code.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
Quoted 12 lines · Eric Blake
Quoted 5 lines · Prasanna Kumar Kalever

1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/
2. rearrange the versioning
3. s/server description/servers description/

This part is fine.

Quoted 2 lines

v2: address review comments given by Eric Blake
v1: Initial patch

Quoted 7 lines

But these lines...

Quoted 1 line

---

...should be here. They are useful to reviewers, but do not need to clutter qemu.git, so putting them after the separator lets 'git am' automatically strip them.

I learned this before :)
This was not intentional

Thanks,
--
Prasanna

Quoted 16 lines

The maintainer can probably fix that without needing a respin.

Quoted 3 lines
 qapi/block-core.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Must go in during hard freeze for 2.7, otherwise it would be an ABI change compared to released code.

--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Reviewed-by on v2 1/1
#3 lore raw
In reply to Prasanna Kumar Kalever
Quoted 47 lines · Prasanna Kumar Kalever

1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/
2. rearrange the versioning
3. s/server description/servers description/

v2: address review comments given by Eric Blake
v1: Initial patch

---
 qapi/block-core.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +3 -3
index f462345..cd14e57 100644
@@ -1688,9 +1688,9 @@
 # Drivers that are supported in block device operations.
 #
 # @host_device, @host_cdrom: Since 2.1
+# @gluster: Since 2.7
 #
 # Since: 2.0
-# @gluster: Since 2.7
 ##
 { 'enum': 'BlockdevDriver',
   'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
@@ -2134,7 +2134,7 @@
 #
 # @path:        absolute path to image file in gluster volume
 #
-# @server:      gluster server description
+# @server:      gluster servers description
 #
 # @debug-level: #optional libgfapi log level (default '4' which is Error)
 #
@@ -2144,7 +2144,7 @@
   'data': { 'volume': 'str',
             'path': 'str',
             'server': ['GlusterServer'],
-            '*debug_level': 'int' } }
+            '*debug-level': 'int' } }
 
 ##
 # @BlockdevOptions
Signature · 1 line
2.7.4
Applied
#4 lore raw
In reply to Prasanna Kumar Kalever
Quoted 47 lines · Prasanna Kumar Kalever

1. qapi @BlockdevOptionsGluster schema member name s/debug_level/debug-level/
2. rearrange the versioning
3. s/server description/servers description/

v2: address review comments given by Eric Blake
v1: Initial patch

---
 qapi/block-core.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qapi/block-core.json +3 -3
index f462345..cd14e57 100644
@@ -1688,9 +1688,9 @@
 # Drivers that are supported in block device operations.
 #
 # @host_device, @host_cdrom: Since 2.1
+# @gluster: Since 2.7
 #
 # Since: 2.0
-# @gluster: Since 2.7
 ##
 { 'enum': 'BlockdevDriver',
   'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
@@ -2134,7 +2134,7 @@
 #
 # @path:        absolute path to image file in gluster volume
 #
-# @server:      gluster server description
+# @server:      gluster servers description
 #
 # @debug-level: #optional libgfapi log level (default '4' which is Error)
 #
@@ -2144,7 +2144,7 @@
   'data': { 'volume': 'str',
             'path': 'str',
             'server': ['GlusterServer'],
-            '*debug_level': 'int' } }
+            '*debug-level': 'int' } }
 
 ##
 # @BlockdevOptions
Signature · 1 line
2.7.4

Thanks,

Applied to my block branch:

git://github.com/codyprime/qemu-kvm-jtc.git block

-Jeff