diff options
| author | Markus Armbruster <armbru@redhat.com> | 2017-03-06 20:00:42 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-03-07 14:53:28 +0100 |
| commit | 8ecc2f9eab17e203e8a64726b7806a9442b451c0 (patch) | |
| tree | c084720efdebeb51a069aa2ae18d395422509ab0 /scripts/qemu.py | |
| parent | 36bcac16fdd6ecb75314db06171f54dcd400ab8c (diff) | |
| download | focaccia-qemu-8ecc2f9eab17e203e8a64726b7806a9442b451c0.tar.gz focaccia-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/qemu.py')
0 files changed, 0 insertions, 0 deletions