Skip to content

curl: Extend and fix blockdev-add schema

Max Reitz qemu-devel 1 version Applied

Status from this message: Applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2qapi/curl: Extend and fix blockdev-add schemaqapi/block-core.json+94 -93 replies
2/2block/curl: Check protocol prefixblock/curl.c+10 -05 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéJeff CodyEric Blake
1/2R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.9 0/2] curl: Extend and fix blockdev-add schema

Yes, it's yet another episode in our popular
get-blockdev-add-ready-for-2.9 drama!

Right now, the schema for the curl block driver is seriously lacking. This series improves things at least a bit.

To improve things seriously, we might want to structure the URL instead of it being just a plain string, and we might want to split the cookie string into a list of dicts or something similar. However, strictly speaking our curl block driver is *not* an (ht|f)tps? block driver but just a curl driver. All it does is pass some options to libcurl and then send and receive data from it. (We really should have just named it "curl" from the start.)

Therefore, it probably is for the best to leave these options rather opaque and let libcurl do the interpretation.

Max Reitz (2):
qapi/curl: Extend and fix blockdev-add schema
block/curl: Check protocol prefix

 qapi/block-core.json | 103 ++++++++++++++++++++++++++++++++++++++++++++++-----
 block/curl.c         |  10 +++++
 2 files changed, 104 insertions(+), 9 deletions(-)
Signature · 1 line
2.12.1