]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-nbd.texi
qemu-nbd: add support for --object command line arg
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:00 +0000 (18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:13:06 +0000 (17:13 +0100)
commit0ab3b3375b362e4ea53714e8448eaf60d311daac
tree4dba0af698e4b9c50f87403cb0e4f2037b5216c5
parent90998d58964cd17f8b0b03800b0a4508f8b543da
qemu-nbd: add support for --object command line arg

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

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-3-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-nbd.c
qemu-nbd.texi