]> git.ipfire.org Git - thirdparty/qemu.git/commit - qemu-img.texi
qemu-img: allow specifying image as a set of options args
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Feb 2016 10:10:20 +0000 (10:10 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 08:50:04 +0000 (09:50 +0100)
commiteb769f74205e0906bdb45eeeb332c40b50b1dcb7
treef75ced29889c4734b0c92ec0d2f9cff4574a9032
parent77c9aaefd7dca5de26476852055d4acc66985c90
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>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi