block: curl: Proof of concept for connecting to oVirt.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: curl: Allow arbitrary HTTP request headers to be set.block/ qapi/ | +28 | 4 replies | |
| 2/2 | block: curl: Allow Certificate Authority bundle to be passed in.block/ qapi/ | +17 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connecting to oVirt.
This is a proof of concept patch which needs a bunch more testing. I'm just posting it to get feedback.
It's almost possible to connect qemu to an oVirt / RHV server and upload or download or otherwise modify disk images. However the curl driver is missing a couple of features to satisfy oVirt's authentication requirements, and these features could be generally useful for others too.
The patches: Allow arbitrary headers to be sent, so you can add the oVirt authentication ticket as a special header. And allow you to specify a CA bundle, which is required for servers which do client authentication.
The particular tricky areas are:
- I have no idea if I'm doing lists right (first patch), although it appears to work.
- I did not test the QAPI stuff, and I'm not even sure how to go about that.
- There's no documentation, but there's no documentation for many other curl driver features either.
- There are no tests, but similarly no tests for other curl features.
Rich.