aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.texi
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-02-17 10:10:17 +0000
committerKevin Wolf <kwolf@redhat.com>2016-02-22 09:50:04 +0100
commit3babeb153caab765e6a66ba1e0a12ff0c3b51a4e (patch)
treee3e5f916283a16713ff07a189e24a82709309f48 /qemu-img.texi
parent9ba371b6343c58805867a341dc5a1d258e2ab589 (diff)
qemu-img: add support for --object command line arg
Allow creation of user creatable object types with qemu-img via a new --object command line arg. This will be used to supply passwords and/or encryption keys to the various block driver backends via the recently added 'secret' object type. # printf letmein > mypasswd.txt # qemu-img info --object secret,id=sec0,file=mypasswd.txt \ ...other info args... Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.texi')
-rw-r--r--qemu-img.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-img.texi b/qemu-img.texi
index 7163a108e2..9e4754306a 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -24,6 +24,14 @@ Command parameters:
@table @var
@item filename
is a disk image filename
+
+@item --object @var{objectdef}
+
+is a QEMU user creatable object definition. See the @code{qemu(1)} manual
+page for a description of the object properties. The most common object
+type is a @code{secret}, which is used to supply passwords and/or encryption
+keys.
+
@item fmt
is the disk image format. It is guessed automatically in most cases. See below
for a description of the supported disk formats.