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 <[email protected]>
---
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 <[email protected]>
Jano