-
Daniel P. Berrangé authored
The qemu-img/qemu-io tools prompt for disk encryption passwords regardless of whether any are actually required. Adding a check on bdrv_key_required() avoids this prompt for disk formats which have been converted to the QCryptoSecret APIs. This is just a temporary hack to ensure the block I/O tests continue to work after each patch, since the last patch will completely delete all the password prompting code. Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Daniel P. Berrangé authoredThe qemu-img/qemu-io tools prompt for disk encryption passwords regardless of whether any are actually required. Adding a check on bdrv_key_required() avoids this prompt for disk formats which have been converted to the QCryptoSecret APIs. This is just a temporary hack to ensure the block I/O tests continue to work after each patch, since the last patch will completely delete all the password prompting code. Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading