Re: [Qemu-devel] [PATCH v4 05/10] qemu-io: allow specifying image as a set of options args

2016-02-02 Thread Daniel P. Berrange
On Wed, Jan 27, 2016 at 03:26:51PM +0100, Kevin Wolf wrote: > Am 26.01.2016 um 14:34 hat Daniel P. Berrange geschrieben: > > -if ((argc - optind) == 1) { > > +if (imageOpts) { > > +char *file; > > +qopts = qemu_opts_parse_noisily(_opts, argv[optind], false); > > +if

Re: [Qemu-devel] [PATCH v4 05/10] qemu-io: allow specifying image as a set of options args

2016-01-27 Thread Kevin Wolf
Am 26.01.2016 um 14:34 hat Daniel P. Berrange geschrieben: > Currently qemu-io allows an image filename to be passed on the > command line, but unless using the JSON format, it does not have > a way to set any options except the format eg > > qemu-io https://127.0.0.1/images/centos7.iso >

[Qemu-devel] [PATCH v4 05/10] qemu-io: allow specifying image as a set of options args

2016-01-26 Thread Daniel P. Berrange
Currently qemu-io allows an image filename to be passed on the command line, but unless using the JSON format, it 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 This adds a --image-opts arg that