]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block/ssh: Use URI parsing code from glib
authorThomas Huth <thuth@redhat.com>
Thu, 18 Apr 2024 10:10:55 +0000 (12:10 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 14 May 2024 10:46:46 +0000 (12:46 +0200)
commita22a97d8056841f1d6d8e52d39281c8c01f4117b
tree2da36f7b641dbc8f2982a788a5660f696e167459
parentf8b74fc55dcceacf793bd72afb1c6432b33655ca
block/ssh: 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.

While we're at it, also emit a warning when encountering unknown
parameters in the URI, so that the users have a chance to detect
their typos or other mistakes.

Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-ID: <20240418101056.302103-13-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
block/ssh.c