[PATCH 4/7] schemas: Extract overrides for the domain element from 'domain.rng'

Michal Prívozník mprivozn at redhat.com
Thu Aug 25 14:08:13 UTC 2022


On 8/25/22 11:46, Peter Krempa wrote:
> Move the overrides into a single file so that later patches can add
> another top level element 'inactiveDomain' used in snapshots.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/conf/schemas/domain.rng          | 12 +-----------
>  src/conf/schemas/domainoverrides.rng | 16 ++++++++++++++++
>  2 files changed, 17 insertions(+), 11 deletions(-)
>  create mode 100644 src/conf/schemas/domainoverrides.rng
> 

Don't forget to list this new file in meson.build:

diff --git i/src/conf/schemas/meson.build w/src/conf/schemas/meson.build
index 700161bf75..1bb09b4c5d 100644
--- i/src/conf/schemas/meson.build
+++ w/src/conf/schemas/meson.build
@@ -8,6 +8,7 @@ schema_files = [
   'domaincheckpoint.rng',
   'domaincommon.rng',
   'domain.rng',
+  'domainoverrides.rng',
   'domainsnapshot.rng',
   'interface.rng',
   'networkcommon.rng',

Michal



More information about the libvir-list mailing list