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 <[email protected]>
---
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

Attachment: signature.asc
Description: PGP signature

Reply via email to