]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-io: add support for --object command line arg
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Feb 2016 10:10:16 +0000 (10:10 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 08:50:04 +0000 (09:50 +0100)
commit9ba371b6343c58805867a341dc5a1d258e2ab589
tree9fad5c656ecbd05ec9eeeb1e919d34a3d690b8bf
parent12d5ee3a7e83a42ba75a79b220a9db4dacd70a6e
qemu-io: add support for --object command line arg

Allow creation of user creatable object types with qemu-io
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-io --object secret,id=sec0,file=mypasswd.txt \
      ...other 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>
qemu-io.c