]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: Introduce scaffolding for schema for <privateData> elements
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Oct 2020 11:48:21 +0000 (13:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 3 Nov 2022 08:19:54 +0000 (09:19 +0100)
commitd8ceacdc87907a3c8656f7ee815ed32f06fe5c7f
treea0d74eddce507cc9f07794c80aecb5570717db9e
parent32d49d4b910179f7a57d5a1199b412798abef0f4
schema: Introduce scaffolding for schema for <privateData> elements

Libvirt internally (e.g. in the status XML) stores additional data for
various objects described by the XML. The data is usually stored in
<privateData> or similar sub-elements.

This patch adds possibility for internal schema files to describe the
<privateData> elements by schema while still disallowing them for the
public schema.

This patch adds definitions for private data of <disk> and the
corresponding storage source of a disk.

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