From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGA0k-0001RO-MV for qemu-devel@nongnu.org; Thu, 14 Mar 2013 11:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGA0f-0002Cg-0N for qemu-devel@nongnu.org; Thu, 14 Mar 2013 11:24:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGA0e-0002CW-Pn for qemu-devel@nongnu.org; Thu, 14 Mar 2013 11:24:00 -0400 Date: Thu, 14 Mar 2013 16:00:14 +0100 From: Kevin Wolf Message-ID: <20130314150014.GE2485@dhcp-200-207.str.redhat.com> References: <1363099279-403-1-git-send-email-kwolf@redhat.com> <1363099279-403-8-git-send-email-kwolf@redhat.com> <5141E291.6050302@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5141E291.6050302@redhat.com> Subject: Re: [Qemu-devel] [PATCH 07/13] qcow2: Allow lazy refcounts to be enabled on the command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws Am 14.03.2013 um 15:45 hat Eric Blake geschrieben: > On 03/12/2013 08:41 AM, Kevin Wolf wrote: > > qcow2 images now accept a boolean lazy_refcounts options. Use it like > > this: > > > > -drive file=test.qcow2,lazy_refcounts=on > > > > If the option is specified on the command line, it overrides the default > > specified by the qcow2 header flags that were set when creating the > > image. > > Question - how would I get at the lazy_refcounts option when hotplugging > a drive after the fact? In other words, we need to wire up access to > per-format options into QMP, to match what we have done on the command line. We do and I hope I'll get to it soon. Maybe we should create a wiki page for all open -blockdev tasks. Another thing that is yet unclear is how to make these options discoverable. At the moment you just have to know that qcow2 accepts a lazy_refcounts option. Kevin