summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorMarkus Armbruster2017-03-06 20:00:42 +0100
committerKevin Wolf2017-03-07 14:53:28 +0100
commit8ecc2f9eab17e203e8a64726b7806a9442b451c0 (patch)
treec084720efdebeb51a069aa2ae18d395422509ab0 /scripts/modules/module_block.py
parentsheepdog: Report errors in pseudo-filename more usefully (diff)
downloadqemu-8ecc2f9eab17e203e8a64726b7806a9442b451c0.tar.gz
qemu-8ecc2f9eab17e203e8a64726b7806a9442b451c0.tar.xz
qemu-8ecc2f9eab17e203e8a64726b7806a9442b451c0.zip
sheepdog: Use SocketAddress and socket_connect()
sd_parse_uri() builds a string from host and port parts for inet_connect(). inet_connect() parses it into host, port and options. Whether this gets exactly the same host, port and no options for all inputs is not obvious. Cut out the string middleman and build a SocketAddress for socket_connect() instead. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions