libvirt/tests/domaincapsschematest
Michal Privoznik 614581f32b Introduce domain_capabilities
This new module holds and formats capabilities for emulator. If you
are about to create a new domain, you may want to know what is the
host or hypervisor capable of. To make sure we don't regress on the
XML, the formatting is not something left for each driver to
implement, rather there's general format function.

The domain capabilities is a lockable object (even though the locking
is not necessary yet) which uses reference counter.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-07-03 12:22:37 +02:00

12 lines
179 B
Bash
Executable File

#!/bin/sh
: ${srcdir=.}
. $srcdir/test-lib.sh
. $abs_srcdir/schematestutils.sh
DIRS=""
DIRS="$DIRS domaincapsschemadata"
SCHEMA="domaincaps.rng"
check_schema "$DIRS" "$SCHEMA"