From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBQVA-0006lt-9R for qemu-devel@nongnu.org; Tue, 22 Dec 2015 12:13:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBQV9-000697-5C for qemu-devel@nongnu.org; Tue, 22 Dec 2015 12:13:32 -0500 Date: Tue, 22 Dec 2015 17:13:24 +0000 From: "Daniel P. Berrange" Message-ID: <20151222171323.GJ10082@redhat.com> References: <1450782389-17326-1-git-send-email-berrange@redhat.com> <1450782389-17326-6-git-send-email-berrange@redhat.com> <567982F8.3090202@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <567982F8.3090202@redhat.com> Subject: Re: [Qemu-devel] [PATCH 5/7] qemu-io: allow specifying image as a set of options args Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , qemu-block@nongnu.org, qemu-devel@nongnu.org, Markus Armbruster , Paolo Bonzini , Andreas =?utf-8?Q?F=C3=A4rber?= On Tue, Dec 22, 2015 at 10:06:00AM -0700, Eric Blake wrote: > On 12/22/2015 04:06 AM, Daniel P. Berrange wrote: > > Currently qemu-io allows an image filename to be passed on the > > command line, but does not have a way to set any options except > > the format eg > > > > qemu-io https://127.0.0.1/images/centos7.iso > > qemu-io /home/berrange/demo.qcow2 > > Well, you CAN set the options by specifying the file as: > qemu-io json:{...} > > but that's a mouthful to type, so I don't mind adding the new syntax. Yep, but as a user, good luck finding out the syntax you have to provide for that - AFAIK its not documented in any of our user facing docs. What everyone knows is the syntax accepted by the -drive command, so I figure we should allow it everywhere. I didn't even know about the ability to use json until Kevin mentioned it to me last time I asked about this :-) Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|