On Fri, Nov 03, 2017 at 03:29:22PM +0100, Peter Krempa wrote:
--- a/src/qemu/qemu_block.c
+++ b/src/qemu/qemu_block.c
@@ -652,6 +652,57 @@ qemuBlockStorageSourceGetVxHSProps(virStorageSourcePtr src)
}
+static virJSONValuePtr
+qemuBlockStorageSourceGetCURLProps(virStorageSourcePtr src)
+{
+ qemuDomainStorageSourcePrivatePtr srcPriv = QEMU_DOMAIN_STORAGE_SOURCE_PRIVATE(src);
+ const char *passwordalias = NULL;
+ const char *username = NULL;
+ virJSONValuePtr ret = NULL;
+ virURIPtr uri = NULL;
+ char *uristr = NULL;
+ const char *driver;
+
+ /**
+ * Common options:
+ * url, readahead, timeout, username, password-secret, proxy-username,
+ * proxy-password secret
+ *
proxy-password-secret
Jan
+ * Options for http transport:
+ * cookie, cookie-secret
+ *