qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connecting to oVirt.
@ 2018-03-01 13:58 Richard W.M. Jones
  2018-03-01 13:58 ` [Qemu-devel] [PATCH 1/2] block: curl: Allow arbitrary HTTP request headers to be set Richard W.M. Jones
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Richard W.M. Jones @ 2018-03-01 13:58 UTC (permalink / raw)
  To: jcody; +Cc: kwolf, mreitz, armbru, eblake, qemu-block, qemu-devel

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-03-01 17:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 13:58 [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connecting to oVirt Richard W.M. Jones
2018-03-01 13:58 ` [Qemu-devel] [PATCH 1/2] block: curl: Allow arbitrary HTTP request headers to be set Richard W.M. Jones
2018-03-01 15:24   ` Nir Soffer
2018-03-01 15:46     ` Richard W.M. Jones
2018-03-01 16:11   ` Daniel P. Berrangé
2018-03-01 16:29     ` Richard W.M. Jones
2018-03-01 13:58 ` [Qemu-devel] [PATCH 2/2] block: curl: Allow Certificate Authority bundle to be passed in Richard W.M. Jones
2018-03-01 15:27   ` Nir Soffer
2018-03-01 15:34   ` Daniel P. Berrangé
2018-03-01 15:47     ` Richard W.M. Jones
2018-03-01 14:21 ` [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connecting to oVirt no-reply
2018-03-01 14:31   ` Richard W.M. Jones
2018-03-01 14:49 ` no-reply
2018-03-01 15:38 ` no-reply
2018-03-01 16:54 ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).