qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH 5/7] qemu-io: allow specifying imag


From: Daniel P. Berrange
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH 5/7] qemu-io: allow specifying image as a set of options args
Date: Tue, 22 Dec 2015 17:13:24 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

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 :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]