Re: [PATCH 4/6] conf: Add invalid domain disk encryption test

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

 



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

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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