summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-02-17 10:10:20 +0000
committerKevin Wolf <kwolf@redhat.com>2016-02-22 09:50:04 +0100
commiteb769f74205e0906bdb45eeeb332c40b50b1dcb7 (patch)
treef75ced29889c4734b0c92ec0d2f9cff4574a9032 /qemu-io.c
parent77c9aaefd7dca5de26476852055d4acc66985c90 (diff)
downloadfocaccia-qemu-eb769f74205e0906bdb45eeeb332c40b50b1dcb7.tar.gz
focaccia-qemu-eb769f74205e0906bdb45eeeb332c40b50b1dcb7.zip
qemu-img: allow specifying image as a set of options args
Currently qemu-img 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-img info https://127.0.0.1/images/centos7.iso

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-img info --image-opts driver=https,url=https://127.0.0.1/images,sslverify=off

This flag is mutually exclusive with the '-f' / '-F' flags.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions