From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLdVe-0005qf-49 for qemu-devel@nongnu.org; Tue, 30 Jun 2009 09:36:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLdVZ-0005o2-C0 for qemu-devel@nongnu.org; Tue, 30 Jun 2009 09:36:29 -0400 Received: from [199.232.76.173] (port=37200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLdVZ-0005nv-68 for qemu-devel@nongnu.org; Tue, 30 Jun 2009 09:36:25 -0400 Received: from mail-px0-f172.google.com ([209.85.216.172]:35269) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLdVY-0000Cc-Q9 for qemu-devel@nongnu.org; Tue, 30 Jun 2009 09:36:24 -0400 Received: by pxi2 with SMTP id 2so94593pxi.4 for ; Tue, 30 Jun 2009 06:36:23 -0700 (PDT) Message-ID: <4A4A14D4.8010204@codemonkey.ws> Date: Tue, 30 Jun 2009 08:36:20 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Allow adjustment of http block device's readahead size. References: <1246068684.4465.76.camel@voxel> <4A48C574.10205@codemonkey.ws> <1EC214E3-2B9D-4202-ADC4-05DDF691E927@suse.de> In-Reply-To: <1EC214E3-2B9D-4202-ADC4-05DDF691E927@suse.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: Alexander Graf Cc: Nolan , "qemu-devel@nongnu.org" Alexander Graf wrote: > > On 29.06.2009, at 15:45, Anthony Liguori wrote: > >> Nolan wrote: >>> Allow adjustment of http block device's readahead size, via the >>> environment variable "HTTP_READAHEAD_SIZE". >>> >>> Signed-off-by: Nolan Leake sigbus.net> >>> >> >> I'd rather a command line option than an environmental variable. > > Wouldn't it make sense to pass arbitrary options via -drive to backends? > > That way we could have -drive > file=http://sample.com/test.iso,http-readahead=1024. Where it gets complex is that you probably want those options to be included as qcow2 backing_file too. I've thought about this in the past and haven't been able to come to a great solution. Regards, Anthony Liguori > Alex >