diff options
author | Thomas Huth <thuth@redhat.com> | 2024-04-18 12:10:53 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-05-14 12:46:46 +0200 |
commit | ad97c011dcb0e5b5e1eae50c0f8ddb89281056e4 (patch) | |
tree | 5dfa42a9c10b3fba54bb072d653d40ab72c4871c /block/ssh.c | |
parent | 3413c6628b71c865da354590c3b05aa1f55a0729 (diff) |
block/nbd: Use URI parsing code from glib
Since version 2.66, glib has useful URI parsing functions, too.
Use those instead of the QEMU-internal ones to be finally able
to get rid of the latter. The g_uri_get_host() also takes care
of removing the square brackets from IPv6 addresses, so we can
drop that part of the QEMU code now, too.
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240418101056.302103-11-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'block/ssh.c')
0 files changed, 0 insertions, 0 deletions