1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/domainsnapshotxml2xmlin
Eric Blake fec1a93927 conf: split <disk> schema into more pieces
To make <disk> schema more maintainable and to allow for moving the
pieces to a common file in the future. It relies on the ability to
override definitions as part of an include, set up in the previous
patch.

The diff is a bit hard to read, because it mixes reindentation
with refactoring; 'git diff -b --patience' may help.

* docs/schemas/domaincommon.rng (disk): Refactor into pieces.
(diskSource, diskSourceFile, diskSourceBlock, diskSourceDir)
(diskSourceVolume: New defines.
(diskSourceNetwork): Revise scope.
* docs/schemas/domainsnapshot.rng (disksnapshot): Adjust.
* tests/domainsnapshotxml2xmlin/disk-seclabel-invalid.xml,
tests/domainsnapshotxml2xmlin/disk-network-seclabel-invalid.xml: New
tests to check seclabel is forbidden in domain snapshot by schema.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2014-04-16 10:45:55 +02:00
..
description_only.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
disk_driver_name_null.xml domainsnapshotxml2xmltest: Add test case for empty driver element 2013-12-05 09:41:30 +01:00
disk_snapshot.xml snapshot: Add support for specifying snapshot disk backing type 2014-01-29 12:56:35 +01:00
disk-invalid.xml conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
disk-network-seclabel-invalid.xml conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
disk-seclabel-invalid.xml conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
empty.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
external_vm.xml domainsnapshotxml2xmltest: Add existing files as new tests 2013-12-05 09:41:29 +01:00
name_and_description.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
name_only.xml Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
noparent.xml domainsnapshotxml2xmltest: Add existing files as new tests 2013-12-05 09:41:29 +01:00