]> Git Repo - qemu.git/commit - block/gluster.c
block/gluster: fix port type in the QAPI options list
authorPrasanna Kumar Kalever <[email protected]>
Tue, 9 Aug 2016 09:48:14 +0000 (15:18 +0530)
committerJeff Cody <[email protected]>
Tue, 1 Nov 2016 11:55:57 +0000 (07:55 -0400)
commit53d9837fb8906b8512143d5eaacc4d6a65b29cc6
tree161540bc55c3a2d1809acbc34528dfad9beb9358
parentc56ac33b7a7bee960dd43f7744aaca47886c3960
block/gluster: fix port type in the QAPI options list

After introduction of qapi schema in gluster block driver code, the port
type is now string as per InetSocketAddress

{ 'struct': 'InetSocketAddress',
  'data': {
    'host': 'str',
    'port': 'str',
    '*to': 'uint16',
    '*ipv4': 'bool',
    '*ipv6': 'bool' } }

but the current code still treats it as QEMU_OPT_NUMBER, hence fixing port
to accept QEMU_OPT_STRING.

Suggested-by: Markus Armbruster <[email protected]>
Signed-off-by: Prasanna Kumar Kalever <[email protected]>
Reviewed-by: Jeff Cody <[email protected]>
Signed-off-by: Jeff Cody <[email protected]>
block/gluster.c
This page took 0.02561 seconds and 4 git commands to generate.