]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: Schema validate host '<sysinfo>' XML test documents
authorPeter Krempa <pkrempa@redhat.com>
Tue, 8 Jul 2025 13:53:31 +0000 (15:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 14 Jul 2025 12:14:36 +0000 (14:14 +0200)
commit6465a813d6aac5f5d8925a0dd3da64ff189796c4
tree359ab4b379f9f5dd2717609846216767fba7ae19
parent918594b419ea3944220fcbab6cf4f1ce7d81e609
schema: Schema validate host '<sysinfo>' XML test documents

Introduce schema for the host '<sysinfo>' output XMLs and validate our
test data against the schema.

This requires introduction of schema for '<processor>' and
'<memory_device>' elements which are not supported when sysinfo is set
explicitly for a domian definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/schemas/sysinfo.rng [new file with mode: 0644]
src/conf/schemas/sysinfocommon.rng
tests/virschematest.c