summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-02-17 10:10:18 +0000
committerKevin Wolf <kwolf@redhat.com>2016-02-22 09:50:04 +0100
commit499afa2512ec5bb0ecb6dbe3c8ea13a7217030ba (patch)
tree4f5607b3bb15a9288881ddf8c96b501b612390b5 /scripts/qapi-types.py
parent3babeb153caab765e6a66ba1e0a12ff0c3b51a4e (diff)
downloadfocaccia-qemu-499afa2512ec5bb0ecb6dbe3c8ea13a7217030ba.tar.gz
focaccia-qemu-499afa2512ec5bb0ecb6dbe3c8ea13a7217030ba.zip
qemu-io: allow specifying image as a set of options args
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

By contrast when using the interactive shell, it is possible to
use --option with the 'open' command, or to omit the filename.

This adds a --image-opts arg that indicates that the positional
filename should be interpreted as a full option string, not
just a filename.

 qemu-io --image-opts driver=https,url=https://127.0.0.1/images,sslverify=off
 qemu-io --image-opts driver=qcow2,file.filename=/home/berrange/demo.qcow2

This flag is mutually exclusive with the '-f' flag and with
the '-o' flag to the 'open' command

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions