summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever2016-08-09 11:48:14 +0200
committerJeff Cody2016-11-01 12:55:57 +0100
commit53d9837fb8906b8512143d5eaacc4d6a65b29cc6 (patch)
tree161540bc55c3a2d1809acbc34528dfad9beb9358 /scripts
parentblock/gluster: improve defense over string to int conversion (diff)
downloadqemu-53d9837fb8906b8512143d5eaacc4d6a65b29cc6.tar.gz
qemu-53d9837fb8906b8512143d5eaacc4d6a65b29cc6.tar.xz
qemu-53d9837fb8906b8512143d5eaacc4d6a65b29cc6.zip
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 <armbru@redhat.com> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions