Received: from eggs.gnu.org ([2001:4830:134:3::10]:60217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVF2P-0000wd-Ao for qemu-devel@nongnu.org; Fri, 28 Aug 2015 04:29:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVF2L-0006Hw-Ay for qemu-devel@nongnu.org; Fri, 28 Aug 2015 04:29:29 -0400 From: Alberto Garcia In-Reply-To: <20150826125713.GJ30715@stefanha-thinkpad.redhat.com> References: <20150825135753.GA19764@perseus.local> <20150826125713.GJ30715@stefanha-thinkpad.redhat.com> Date: Fri, 28 Aug 2015 10:28:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] Creating snapshots with specific runtime options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , qemu-devel@nongnu.org, qemu-block@nongnu.org, armbru@redhat.com On Wed 26 Aug 2015 02:57:13 PM CEST, Stefan Hajnoczi wrote: >> In principle extending the QMP command sounds as simple as adding >> 'options': 'BlockdevOptions' to 'blockdev-snapshot-sync', but it's >> surely more complicated than that :) Is the 'BlockdevOptions' API >> even stable? > > Some block drivers don't have BlockdevOptions support yet. > > I think that doesn't prevent us from passing BlockdevOptions to > snapshot creation though. Hmmm, I see however that there's overlap between blockdev-snapshot-sync and BlockdevOptions. You must indicate the target file in both. Format and node name are also present in both (these are optional however)... we can of course check that the values match and/or ignore some of them but that's horrible. Berto