From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNRfQ-00050J-HW for qemu-devel@nongnu.org; Tue, 11 Mar 2014 14:44:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNRfK-00028y-OG for qemu-devel@nongnu.org; Tue, 11 Mar 2014 14:44:44 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:57209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNRfK-00028o-HF for qemu-devel@nongnu.org; Tue, 11 Mar 2014 14:44:38 -0400 Received: by mail-ea0-f177.google.com with SMTP id h10so4514143eak.36 for ; Tue, 11 Mar 2014 11:44:37 -0700 (PDT) Date: Tue, 11 Mar 2014 19:44:34 +0100 From: Stefan Hajnoczi Message-ID: <20140311184434.GA512@stefanha-thinkpad.redhat.com> References: <1394556161-16030-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394556161-16030-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qcow2: Keep option in qcow2_invalidate_cache() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, stefanha@redhat.com On Tue, Mar 11, 2014 at 05:42:41PM +0100, Kevin Wolf wrote: > Instead of manually building a list of all options from BDRVQcowState > values just reuse the options that were used to open the image. > qcow2_open() won't fully use all of the options in the QDict, but that's > okay. > > This fixes all of the driver-specific options in qcow2, except for > lazy-refcounts, which was special cased before. > > Signed-off-by: Kevin Wolf > --- > block/qcow2.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan