[PATCH 07/12] schema: Introduce scaffolding for schema for <privateData> elements

Ján Tomko jtomko at redhat.com
Wed Nov 2 13:45:17 UTC 2022


On a Tuesday in 2022, Peter Krempa wrote:
>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 at redhat.com>
>---
> src/conf/schemas/domaincommon.rng |  3 +++
> src/conf/schemas/privatedata.rng  | 30 ++++++++++++++++++++++++++++++
> 2 files changed, 33 insertions(+)
> create mode 100644 src/conf/schemas/privatedata.rng
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list