[libvirt] [PATCH 4/6] conf: Add invalid domain disk encryption test
Peter Krempa
pkrempa at redhat.com
Fri Sep 15 04:01:36 UTC 2017
On Thu, Sep 14, 2017 at 14:03:08 -0400, John Ferlan wrote:
> Add a test to prove checking for invalid luks disk formatting check
According to the error message the <cipher> element is not necessary
when defining a disk for a domain:
419) QEMU XML-2-ARGV luks-disk-invalid ... Got expected error:
2017-09-15 03:59:41.787+0000: 237800: error : virDomainDiskDefParseXML:9104 : unsupported configuration: supplying the <cipher> for a domain is unnecessary
Please note in the commit message that the <cipher> element is to look
for.
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> .../qemuxml2argv-luks-disk-invalid.xml | 37 ++++++++++++++++++++++
> tests/qemuxml2argvtest.c | 1 +
> 2 files changed, 38 insertions(+)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-luks-disk-invalid.xml
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170915/eade853c/attachment-0001.sig>
More information about the libvir-list
mailing list