v2:
- fixed docs to mention http/ftp/tftp protocols
- query part is stored separately to prevent ambiguity in using of the
'?' sign
- added checks that query is valid only for http
- added tests for pre-blockdev configurations
Peter Krempa (4):
docs: formatdomain: Mention missing protocols
conf: Add support for http(s) query strings
qemuBlockStorageSourceGetURI: Pass through query component
virStorageSourceParseBackingURI: Preserve query string of URI for
http(s)
docs/formatdomain.html.in | 14 ++++++++++----
docs/schemas/domaincommon.rng | 6 ++++++
src/conf/domain_conf.c | 5 +++++
src/qemu/qemu_block.c | 2 ++
src/qemu/qemu_domain.c | 9 +++++++++
src/util/virstoragefile.c | 14 +++++++++++---
src/util/virstoragefile.h | 1 +
tests/qemuxml2argvdata/disk-cdrom-network.args | 4 ++--
.../disk-cdrom-network.x86_64-2.12.0.args | 4 ++--
.../disk-cdrom-network.x86_64-latest.args | 3 ++-
tests/qemuxml2argvdata/disk-cdrom-network.xml | 2 +-
.../disk-network-http.x86_64-latest.args | 5 +++--
tests/qemuxml2argvdata/disk-network-http.xml | 2 +-
.../disk-network-http.x86_64-latest.xml | 2 +-
tests/virstoragetest.c | 4 ++--
15 files changed, 58 insertions(+), 19 deletions(-)
--
2.24.1