@samitouri / QOSamiQemu / commits / 15c719a142

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>

Antoine Damhet committed Feb 27, 2026 at 13:45 UTC 15c719a142c63809a6943625de156c3758af353d
1 file changed +2 -11
qapi/block-core.json
+2 -11
@@ -4600,23 +4600,14 @@
4600 # Driver specific block device options for HTTPS connections over the
4601 # curl backend. URLs must start with "https://".
4602 #
4603 -# @cookie: List of cookies to set; format is "name1=content1;
4604 -# name2=content2;" as explained by CURLOPT_COOKIE(3). Defaults to
4605 -# no cookies.
4606 -#
4603 # @sslverify: Whether to verify the SSL certificate's validity
4604 # (defaults to true)
4605 #
4610 -# @cookie-secret: ID of a QCryptoSecret object providing the cookie
4611 -# data in a secure way. See @cookie for the format. (since 2.10)
4612 -#
4606 # Since: 2.9
4607 ##
4608 { 'struct': 'BlockdevOptionsCurlHttps',
4616 - 'base': 'BlockdevOptionsCurlBase',
4617 - 'data': { '*cookie': 'str',
4618 - '*sslverify': 'bool',
4619 - '*cookie-secret': 'str'} }
4609 + 'base': 'BlockdevOptionsCurlHttp',
4610 + 'data': { '*sslverify': 'bool'} }
4611
4612 ##
4613 # @BlockdevOptionsCurlFtp: