Received: from eggs.gnu.org ([2001:4830:134:3::10]:50523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy1Vd-0005N6-S0 for qemu-devel@nongnu.org; Thu, 28 May 2015 13:22:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yy1Va-000411-Ml for qemu-devel@nongnu.org; Thu, 28 May 2015 13:22:21 -0400 From: Alberto Garcia In-Reply-To: <20150528164455.GF3385@noname.redhat.com> References: <8007efe81120cd72f7c4145b8bbc3f4bc558e62d.1432719752.git.berto@igalia.com> <55672CA2.10105@redhat.com> <556730A1.40705@redhat.com> <20150528164455.GF3385@noname.redhat.com> Date: Thu, 28 May 2015 19:03:08 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 2/3] qcow2: add option to clean unused cache entries after some time List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , Eric Blake Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi , Max Reitz On Thu 28 May 2015 06:44:55 PM CEST, Kevin Wolf wrote: >> Yeah, I'm not sure such duplication helps. I'd still like it >> reported somewhere, though, as it is nice to query that a requested >> setting is actually working. > > This isn't duplicated information. You can have ImageInfoSpecificQCow2 > show lazy_refcounts=off because that is what the image file contains, > but the real value in effect could be lazy_refcounts=on. That's right, ImageInfoSpecificQCow2 returns the value from the header (s->compatible_features), not the runtime value (s->use_lazy_refcounts). I think I'll resend the patch without the ImageInfo change. Querying the runtime values is a task on its own. Berto