]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block/nfs: Use URI parsing code from glib
authorThomas Huth <thuth@redhat.com>
Thu, 18 Apr 2024 10:10:54 +0000 (12:10 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 14 May 2024 10:46:46 +0000 (12:46 +0200)
commitf8b74fc55dcceacf793bd72afb1c6432b33655ca
tree7cac1cce8a93c43b6358ddca7a744e1c658709f3
parentad97c011dcb0e5b5e1eae50c0f8ddb89281056e4
block/nfs: 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, slightly rephrase one of the error messages:
Use "Invalid value..." instead of "Illegal value..." since the
latter rather sounds like the users were breaking a law here.

Reviewed-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240418101056.302103-12-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
block/nfs.c