]> git.proxmox.com Git - mirror_qemu.git/commit
qapi-schema: Rename SocketAddressFlat's variant tcp to inet
authorMarkus Armbruster <armbru@redhat.com>
Mon, 6 Mar 2017 19:00:48 +0000 (20:00 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 7 Mar 2017 13:53:29 +0000 (14:53 +0100)
commitc5f1ae3ae7b19591c78a61e46cf812b0b968fef0
tree86e73beb854913f10a50a4db4d47499e1f8c8c4a
parent2b733709d7a29273406d341f60efe3b5d69ea362
qapi-schema: Rename SocketAddressFlat's variant tcp to inet

QAPI type SocketAddressFlat differs from SocketAddress pointlessly:
the discriminator value for variant InetSocketAddress is 'tcp' instead
of 'inet'.  Rename.

The type is so far only used by the Gluster block drivers.  Take care
to keep 'tcp' working in things like -drive's file.server.0.type=tcp.
The "gluster+tcp" URI scheme in pseudo-filenames stays the same.
blockdev-add changes, but it has changed incompatibly since 2.8
already.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/gluster.c
qapi-schema.json