Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M22HY-0000YO-5Q for qemu-devel@nongnu.org; Thu, 07 May 2009 08:00:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M22HT-0000SP-BC for qemu-devel@nongnu.org; Thu, 07 May 2009 08:00:55 -0400 Received: from [199.232.76.173] (port=39791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M22HS-0000Rz-T7 for qemu-devel@nongnu.org; Thu, 07 May 2009 08:00:50 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38205) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M22HR-0002Xy-SF for qemu-devel@nongnu.org; Thu, 07 May 2009 08:00:50 -0400 Message-ID: <4A02CD69.3080801@redhat.com> Date: Thu, 07 May 2009 15:00:41 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add HTTP protocol using curl v3 References: <1241694660-23218-1-git-send-email-alex@csgraf.de> In-Reply-To: <1241694660-23218-1-git-send-email-alex@csgraf.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex@csgraf.de Cc: nolan@sigbus.net, qemu-devel@nongnu.org, Alexander Graf alex@csgraf.de wrote: > + > +BlockDriver bdrv_http = { > + .format_name = "http", > + .protocol_name = "http", > curl supports a bunch of protocols (from the man page, HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP, FILE). I suggest registering all of them (except FILE) so users can enjoy booting VMs over LDAP. (well that only works for protocols that support byte range operations) -- error compiling committee.c: too many arguments to function