[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen master] block/gluster: fix port type in the QAPI options list
commit 53d9837fb8906b8512143d5eaacc4d6a65b29cc6 Author: Prasanna Kumar Kalever <prasanna.kalever@xxxxxxxxxx> AuthorDate: Tue Aug 9 15:18:14 2016 +0530 Commit: Jeff Cody <jcody@xxxxxxxxxx> CommitDate: Tue Nov 1 07:55:57 2016 -0400 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@xxxxxxxxxx> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@xxxxxxxxxx> Reviewed-by: Jeff Cody <jcody@xxxxxxxxxx> Signed-off-by: Jeff Cody <jcody@xxxxxxxxxx> --- block/gluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/gluster.c b/block/gluster.c index 98a9132..0ce15f7 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -186,7 +186,7 @@ static QemuOptsList runtime_tcp_opts = { }, { .name = GLUSTER_OPT_PORT, - .type = QEMU_OPT_NUMBER, + .type = QEMU_OPT_STRING, .help = "port number on which glusterd is listening (default 24007)", }, { -- generated by git-patchbot for /home/xen/git/qemu-xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |