All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] block/curl: fix S3 presigned URL support
@ 2026-02-12 16:27 Antoine Damhet
  2026-02-12 16:27 ` [PATCH 1/2] block/curl: fix concurrent completion handling Antoine Damhet
  2026-02-12 16:27 ` [PATCH 2/2] block/curl: add support for S3 presigned URLs Antoine Damhet
  0 siblings, 2 replies; 7+ messages in thread
From: Antoine Damhet @ 2026-02-12 16:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Antoine Damhet, qemu-block, Kevin Wolf, Hanna Reitz

Hi,

This series adds the support for S3 presigned URLs that only allow HTTP
GET requests. While working on this I also stumbled upon a deadlock with
concurrent I/O and slipped the fix here. Over the years there was
already an attempt to support these kind of URLs[1] and at least one
report of a user in need of the feature[2].

Unfortunately S3 only allows a presigned URL to live up to 7 days so we
can't really put an example with a stable URL on the commit message but
here is a presigned URL for the archlinux cloud image[3] that will
expire in ~7 days.

Cheers,
Antoine

[1]: https://lore.kernel.org/qemu-devel/110120539.4133.de5ac8a5-69d1-4f59-9540-4a679771a547.open-xchange@ox.pcextreme.nl/
[2]: https://lore.kernel.org/qemu-devel/7b37cc65-1314-29f4-006f-70836bdfb4b4@linaro.org/
[3]: https://test-presigned.s3.fr-par.scw.cloud/Arch-Linux-x86_64-cloudimg.qcow2?AWSAccessKeyId=SCWDHE3XBQGZFV282QKG&Expires=1771517864&Signature=9Jy5hOW%2FeHlpqQNQtKxg5AjVv9E%3D

Antoine Damhet (2):
  block/curl: fix concurrent completion handling
  block/curl: add support for S3 presigned URLs

 block/curl.c                          | 115 ++++++++++++++++----------
 block/trace-events                    |   1 +
 docs/system/device-url-syntax.rst.inc |   6 ++
 qapi/block-core.json                  |  14 +++-
 4 files changed, 92 insertions(+), 44 deletions(-)

-- 
2.53.0



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

end of thread, other threads:[~2026-02-24 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12 16:27 [PATCH 0/2] block/curl: fix S3 presigned URL support Antoine Damhet
2026-02-12 16:27 ` [PATCH 1/2] block/curl: fix concurrent completion handling Antoine Damhet
2026-02-24 13:54   ` Kevin Wolf
2026-02-12 16:27 ` [PATCH 2/2] block/curl: add support for S3 presigned URLs Antoine Damhet
2026-02-17  8:53   ` Markus Armbruster
2026-02-23 17:18     ` Antoine Damhet
2026-02-24  8:30       ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.