Skip to content

block: curl: Proof of concept for connecting to oVirt.

Richard W.M. Jones qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: curl: Allow arbitrary HTTP request headers to be set.block/curl.c qapi/block-core.json+28 -34 replies
2/2block: curl: Allow Certificate Authority bundle to be passed in.block/curl.c qapi/block-core.json+17 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.