Received: from eggs.gnu.org ([2001:4830:134:3::10]:50180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKoNX-00024x-3N for qemu-devel@nongnu.org; Fri, 22 Aug 2014 08:55:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKoNQ-0001bq-R7 for qemu-devel@nongnu.org; Fri, 22 Aug 2014 08:55:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKoNQ-0001bd-J9 for qemu-devel@nongnu.org; Fri, 22 Aug 2014 08:55:32 -0400 Date: Fri, 22 Aug 2014 14:55:22 +0200 From: Kevin Wolf Message-ID: <20140822125522.GM32377@noname.redhat.com> References: <1406062723-28692-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1406062723-28692-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/2] qemu-img: Allow source cache mode specification List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Peter Lieven , qemu-devel@nongnu.org, Stefan Hajnoczi Am 22.07.2014 um 22:58 hat Max Reitz geschrieben: > Currently, qemu-img does not allow setting the cache mode for source > images. However, it reads images generally only once, therefore a full > writeback cache unnecessarily clutters the host cache. In case the user > finds this undesirable, there has to be a way of disabling that cache. > This series first introduces such a way for check, compare, convert and > rebase and then (while at it) adds a cache mode switch to amend (which > was missing so far). > > Peter already tried to add a BDRV_O_SEQUENTIAL mode to qemu-img convert. > If we want to add such a mode (which in my opinion would be the logical > consequence of this series), we may want to make it just another cache > mode which can be selected by the user. > > v2: > - Patch 1: > - Remove superfluous space in qemu-img-cmds.hx [Eric] > - Reorder all getopt() optstrings which are touched by this patch > anyway according to the subsequent switch [Eric (implicitly)] > - Patch 2: > - Reorder img_amend()'s optstring [Eric] Thanks, applied all to the block branch. Kevin