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(a)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