diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-05-10 17:11:28 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-05-12 15:33:24 +0200 |
commit | b7e875b2f98c2724b5f915f5808f8828fd9b05a8 (patch) | |
tree | 677b83ceeb94c450a605a94758ba2001161523d3 /qdev-monitor.c | |
parent | 076003f526cebbf5bbef826f752019da5d2c3e89 (diff) | |
download | qemu-b7e875b2f98c2724b5f915f5808f8828fd9b05a8.zip |
block: add support for encryption secrets in block I/O tests
The LUKS block driver tests will require the ability to specify
encryption secrets with block devices. This requires using the
--object argument to qemu-img/qemu-io to create a 'secret'
object.
When the IMGKEYSECRET env variable is set, it provides the
password to be associated with a secret called 'keysec0'
The _qemu_img_wrapper function isn't modified as that needs
to cope with differing syntax for subcommands, so can't be
made to use the image opts syntax unconditionally.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1462896689-18450-3-git-send-email-berrange@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions