qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent@vivier.eu>
To: Alexander Graf <agraf@suse.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v7
Date: Fri, 22 May 2009 17:41:07 +0200	[thread overview]
Message-ID: <1243006867.5883.4.camel@Quad> (raw)
In-Reply-To: <1243004222-27822-1-git-send-email-agraf@suse.de>

Le vendredi 22 mai 2009 à 16:57 +0200, Alexander Graf a écrit :
> Currently Qemu can read from posix I/O and NBD. This patch adds a
> third protocol to the game: HTTP.
> 
> In certain situations it can be useful to access HTTP data directly,
> for example if you want to try out an http provided OS image, but
> don't know if you want to download it yet.
> 
> Using this patch you can now try it on on the fly. Just use it like:
> 
> qemu -cdrom http://host/path/my.iso
> 
> In order to not reinvent the wheel, this patch uses libcurl.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Just a comment on the form: changelog should appear after the "---" with
diffstat to not be commited with the patch comment.
(they work like that on the linux kernel mailing list...)

> v2 changes:
> 
> - fix the segfault (yay!)
> - implement AIO
> 
> v3 changes:
> 
> - remove synchronous API
> - implement caching
> 
> v4 changes:
> 
> - enable other protocols (HTTPS, FTP, FTPS, TFTP, SFTP, SCP)
>   (I only tested FTP so far, but they _should_ work)
> 
> v5 changes:
> 
> - address Anthony's comments
> - deactivate ssh protocols again
> 
> v6 changes:
> 
> - s/^I/        /g
> - s/http/curl/g
> 
> v7 changes:
> 
> - add Signed-off-by again
> 
> ---
>  Makefile        |    6 +
>  Makefile.target |    2 +-
>  block-curl.c    |  540 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  block.c         |   12 ++
>  block.h         |    7 +
>  configure       |   25 +++
>  6 files changed, 591 insertions(+), 1 deletions(-)
>  create mode 100644 block-curl.c
> 
> diff --git a/Makefile b/Makefile
> index 3c70068..421cd41 100644
> --- a/Makefile
> +++ b/Makefile
[...]

  reply	other threads:[~2009-05-22 15:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 14:57 [Qemu-devel] [PATCH] Add HTTP protocol using curl v7 Alexander Graf
2009-05-22 15:41 ` Laurent Vivier [this message]
2009-05-27 14:49 ` Richard W.M. Jones
2009-05-27 14:55   ` Alexander Graf
2009-05-27 15:01     ` Richard W.M. Jones
2009-05-27 14:58   ` Anthony Liguori
2009-05-27 17:45     ` [Qemu-devel] " Consul
2009-05-28  8:45       ` Anthony Liguori
2009-05-28 18:20         ` Consul
2009-05-28 18:23         ` Consul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243006867.5883.4.camel@Quad \
    --to=laurent@vivier.eu \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).