diff options
author | Daniel P. Berrange | 2016-05-10 18:11:28 +0200 |
---|---|---|
committer | Max Reitz | 2016-05-12 15:33:24 +0200 |
commit | b7e875b2f98c2724b5f915f5808f8828fd9b05a8 (patch) | |
tree | 677b83ceeb94c450a605a94758ba2001161523d3 /tests/qemu-iotests/052 | |
parent | block: add support for --image-opts in block I/O tests (diff) | |
download | qemu-b7e875b2f98c2724b5f915f5808f8828fd9b05a8.tar.gz qemu-b7e875b2f98c2724b5f915f5808f8828fd9b05a8.tar.xz 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 'tests/qemu-iotests/052')
0 files changed, 0 insertions, 0 deletions