diff options
author | Markus Armbruster | 2017-03-30 19:43:14 +0200 |
---|---|---|
committer | Max Reitz | 2017-04-03 17:11:39 +0200 |
commit | 8bc0673f6dc2485b46da6de8204aaca2a711acea (patch) | |
tree | 5f2fe71239249a165541bdffc7cc641775a4475d /block | |
parent | gluster: Prepare for SocketAddressFlat extension (diff) | |
download | qemu-8bc0673f6dc2485b46da6de8204aaca2a711acea.tar.gz qemu-8bc0673f6dc2485b46da6de8204aaca2a711acea.tar.xz qemu-8bc0673f6dc2485b46da6de8204aaca2a711acea.zip |
qapi-schema: SocketAddressFlat variants 'vsock' and 'fd'
Note that the new variants are impossible in qemu_gluster_glfs_init(),
because the gconf->server can only come from qemu_gluster_parse_uri()
or qemu_gluster_parse_json(), and neither can create anything but
'inet' or 'unix'.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1490895797-29094-7-git-send-email-armbru@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/gluster.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/gluster.c b/block/gluster.c index fb0aafeaa3..cf29b5f9a4 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -429,6 +429,8 @@ static struct glfs *qemu_gluster_glfs_init(BlockdevOptionsGluster *gconf, server->value->u.inet.host, (int)port); break; + case SOCKET_ADDRESS_FLAT_TYPE_VSOCK: + case SOCKET_ADDRESS_FLAT_TYPE_FD: default: abort(); } |