Received: from eggs.gnu.org ([2001:4830:134:3::10]:35717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVZlS-00061J-64 for qemu-devel@nongnu.org; Thu, 13 Jul 2017 04:46:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZlO-00038y-U2 for qemu-devel@nongnu.org; Thu, 13 Jul 2017 04:46:26 -0400 Received: from mx01.kamp.de ([82.141.2.16]:38758) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVZlO-00038I-JJ for qemu-devel@nongnu.org; Thu, 13 Jul 2017 04:46:22 -0400 References: <1498733831-15254-1-git-send-email-pl@kamp.de> <1498733831-15254-3-git-send-email-pl@kamp.de> <20170710131007.GE5772@noname.redhat.com> <136f3543-665b-a138-1ff0-f96e2aaca0b4@kamp.de> <20170710133038.GH5772@noname.redhat.com> From: Peter Lieven Message-ID: Date: Thu, 13 Jul 2017 10:45:49 +0200 MIME-Version: 1.0 In-Reply-To: <20170710133038.GH5772@noname.redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V2 2/8] qapi: add compress parameters to Qcow2 Blockdev options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, lersek@redhat.com, den@openvz.org, mreitz@redhat.com, eblake@redhat.com, berrange@redhat.com Am 10.07.2017 um 15:30 schrieb Kevin Wolf: > Am 10.07.2017 um 15:24 hat Peter Lieven geschrieben: >> Am 10.07.2017 um 15:10 schrieb Kevin Wolf: >>> Am 29.06.2017 um 12:57 hat Peter Lieven geschrieben: >>>> Signed-off-by: Peter Lieven >>>> --- >>>> qapi/block-core.json | 44 +++++++++++++++++++++++++++++++++++++++++++- >>>> 1 file changed, 43 insertions(+), 1 deletion(-) >>> How does this make sense as a runtime option? What would happen if the >>> image contains one compression format and I specify another one on the >>> command line or in blockdev-add? >>> >>> Shouldn't it just be a create-time option and when you run qemu, it uses >>> whatever format that image has? >> I was asked to add it here. It is indeed only a create option and has >> no other effect. > But if it's only a create option, why is it added to blockdev-add? Is there already a separate schemata for the create options? Thanks, Peter