[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 :|
- [Qemu-block] [PATCH 0/7] Make qemu-img/qemu-nbd/qemu-io CLI more flexible, Daniel P. Berrange, 2015/12/22
- [Qemu-block] [PATCH 1/7] qom: add user_creatable_add & user_creatable_del methods, Daniel P. Berrange, 2015/12/22
- [Qemu-block] [PATCH 3/7] qemu-nbd: add support for --object command line arg, Daniel P. Berrange, 2015/12/22
- [Qemu-block] [PATCH 2/7] qemu-img: add support for --object command line arg, Daniel P. Berrange, 2015/12/22
- [Qemu-block] [PATCH 5/7] qemu-io: allow specifying image as a set of options args, Daniel P. Berrange, 2015/12/22
- [Qemu-block] [PATCH 4/7] qemu-io: add support for --object command line arg, Daniel P. Berrange, 2015/12/22
[Qemu-block] [PATCH 6/7] qemu-nbd: allow specifying image as a set of options args, Daniel P. Berrange, 2015/12/22
[Qemu-block] [PATCH 7/7] qemu-img: allow specifying image as a set of options args, Daniel P. Berrange, 2015/12/22