Commit 15c719a142 for qemu.org
commit 15c719a142c63809a6943625de156c3758af353d
Author: Antoine Damhet <adamhet@scaleway.com>
Date: Fri Feb 27 13:45:52 2026 +0100
qapi: block: Refactor HTTP(s) common arguments
The HTTPs curl block driver is a superset of the HTTP driver, reflect
that in the QAPI.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Antoine Damhet <adamhet@scaleway.com>
Message-ID: <20260227-fix-curl-v3-v3-2-eb8a4d88feef@scaleway.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
diff --git a/qapi/block-core.json b/qapi/block-core.json
index da0b36a375..8ba1fdc49d 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -4600,23 +4600,14 @@
# Driver specific block device options for HTTPS connections over the
# curl backend. URLs must start with "https://".
#
-# @cookie: List of cookies to set; format is "name1=content1;
-# name2=content2;" as explained by CURLOPT_COOKIE(3). Defaults to
-# no cookies.
-#
# @sslverify: Whether to verify the SSL certificate's validity
# (defaults to true)
#
-# @cookie-secret: ID of a QCryptoSecret object providing the cookie
-# data in a secure way. See @cookie for the format. (since 2.10)
-#
# Since: 2.9
##
{ 'struct': 'BlockdevOptionsCurlHttps',
- 'base': 'BlockdevOptionsCurlBase',
- 'data': { '*cookie': 'str',
- '*sslverify': 'bool',
- '*cookie-secret': 'str'} }
+ 'base': 'BlockdevOptionsCurlHttp',
+ 'data': { '*sslverify': 'bool'} }
##
# @BlockdevOptionsCurlFtp: