qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl
Date: Fri, 10 Apr 2009 10:25:12 +0300	[thread overview]
Message-ID: <f43fc5580904100025g6921dc74o6a6abcc050a9b32b@mail.gmail.com> (raw)
In-Reply-To: <1239310201-24519-1-git-send-email-agraf@suse.de>

On 4/9/09, Alexander Graf <agraf@suse.de> wrote:
> 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.
>
>  Warning:
>
>  With stock qemu I do get segmentation faults accessing http backed
>  files, with kvm-userspace's IO threads I don't. I haven't tracked
>  down why exactly that happens though.
>
>  Signed-off-by: Alexander Graf <agraf@suse.de>

The docs should be updated as well.

>  +    sprintf(s->range, "%lld-%lld", start, end);

Please use snprintf.

      parent reply	other threads:[~2009-04-10  7:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 20:50 [Qemu-devel] [PATCH] Add HTTP protocol using curl Alexander Graf
2009-04-09 21:37 ` [Qemu-devel] " Anthony Liguori
2009-04-09 21:39   ` Alexander Graf
2009-04-10  7:25 ` Blue Swirl [this message]

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=f43fc5580904100025g6921dc74o6a6abcc050a9b32b@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --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).