From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ls1wg-0004vI-Qa for qemu-devel@nongnu.org; Thu, 09 Apr 2009 17:38:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ls1wc-0004uu-1j for qemu-devel@nongnu.org; Thu, 09 Apr 2009 17:38:02 -0400 Received: from [199.232.76.173] (port=49260 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ls1wb-0004ur-S7 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 17:37:57 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:64764) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ls1wb-0000tk-GX for qemu-devel@nongnu.org; Thu, 09 Apr 2009 17:37:57 -0400 Received: by an-out-0708.google.com with SMTP id c5so585799anc.37 for ; Thu, 09 Apr 2009 14:37:56 -0700 (PDT) Message-ID: <49DE6AB1.5070906@codemonkey.ws> Date: Thu, 09 Apr 2009 16:37:53 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1239310201-24519-1-git-send-email-agraf@suse.de> In-Reply-To: <1239310201-24519-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Add HTTP protocol using curl Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: kwolf@redhat.com, qemu-devel@nongnu.org Alexander Graf 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. > I have one of these too that reinvents the wheel. The main reason was to enable bdrv_aio_* implementations. I'm happy to merge a version that uses libcurl but I don't want to merge it unless it's implementing bdrv_aio_. As far as I'm concerned, backends implementing bdrv_read/bdrv_write is deprecated. Regards, Anthony Liguori