]> git.proxmox.com Git - mirror_qemu.git/commit - block/gluster.c
block/gluster: fix QMP to match debug option
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Wed, 2 Nov 2016 16:50:36 +0000 (22:20 +0530)
committerJeff Cody <jcody@redhat.com>
Mon, 5 Dec 2016 21:30:15 +0000 (16:30 -0500)
commit1a417e46aedb7d762691fdd9aaab67465240b830
tree447534e364f6e537ac677c5b8d2f8dd1d50b2c74
parentbc66cedb4141fb7588f2462c74310d8fb5dd4cf1
block/gluster: fix QMP to match debug option

The QMP definition of BlockdevOptionsGluster:
{ 'struct': 'BlockdevOptionsGluster',
  'data': { 'volume': 'str',
            'path': 'str',
            'server': ['GlusterServer'],
            '*debug-level': 'int',
            '*logfile': 'str' } }

But instead of 'debug-level we have exported 'debug' as the option for choosing
debug level of gluster protocol driver.

This patch fix QMP definition BlockdevOptionsGluster
s/debug-level/debug/

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/gluster.c
qapi/block-core.json