Re: [PATCH 03/11] qemuDomainValidateStorageSource: Add validation of 'encryption' support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux