[PATCH 03/11] qemuDomainValidateStorageSource: Add validation of 'encryption' support
Ján Tomko
jtomko at redhat.com
Fri Apr 22 22:07:03 UTC 2022
On a Friday in 2022, Peter Krempa wrote:
>Reject encryption requests for unsupported image format types.
>
>Add negative test for the rejected cases as well as modify
>'disk-network-rbd-encryption' case to validate that with librbd
>encryption the format doesn matter.
*doesn't
Jano
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c | 13 +++++++
> .../disk-encryption-wrong.x86_64-latest.err | 1 +
> .../disk-encryption-wrong.xml | 37 +++++++++++++++++++
> ...-network-rbd-encryption.x86_64-latest.args | 2 +-
> .../disk-network-rbd-encryption.xml | 2 +-
> tests/qemuxml2argvtest.c | 1 +
> ...k-network-rbd-encryption.x86_64-latest.xml | 2 +-
> 7 files changed, 55 insertions(+), 3 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/disk-encryption-wrong.x86_64-latest.err
> create mode 100644 tests/qemuxml2argvdata/disk-encryption-wrong.xml
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220423/d4852151/attachment.sig>
More information about the libvir-list
mailing list