From d8ceacdc87907a3c8656f7ee815ed32f06fe5c7f Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 8 Oct 2020 13:48:21 +0200 Subject: [PATCH] schema: Introduce scaffolding for schema for elements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Libvirt internally (e.g. in the status XML) stores additional data for various objects described by the XML. The data is usually stored in or similar sub-elements. This patch adds possibility for internal schema files to describe the elements by schema while still disallowing them for the public schema. This patch adds definitions for private data of and the corresponding storage source of a disk. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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 diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index 2acb277b76..ebb39de3ef 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -6,6 +6,7 @@ + + + + + + + + + + + + + + + + + + +