From f46088e22eac4737e59366d0b3f75b3e057decfc Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 25 Aug 2022 11:29:30 +0200 Subject: [PATCH] schema: Add schema for '' element used in the snapshot definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The '' element stores the next-start definition of a VM on snapshot. It was not covered by the schema when it was introduced. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2121276 Fixes: 152c165d34cb6dcd21d08427422850f406cd0643 Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/conf/schemas/domaincommon.rng | 7 +++++++ src/conf/schemas/domainsnapshot.rng | 5 +++++ src/conf/schemas/inactiveDomain.rng | 10 ++++++++++ src/conf/schemas/meson.build | 1 + 4 files changed, 23 insertions(+) create mode 100644 src/conf/schemas/inactiveDomain.rng diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincommon.rng index ce4509f245..5ff15e8787 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -37,6 +37,13 @@ + + + + + + + diff --git a/src/conf/schemas/domainsnapshot.rng b/src/conf/schemas/domainsnapshot.rng index a5d1a40493..3db9f458ba 100644 --- a/src/conf/schemas/domainsnapshot.rng +++ b/src/conf/schemas/domainsnapshot.rng @@ -83,6 +83,11 @@ + + + + + diff --git a/src/conf/schemas/inactiveDomain.rng b/src/conf/schemas/inactiveDomain.rng new file mode 100644 index 0000000000..ae1207d978 --- /dev/null +++ b/src/conf/schemas/inactiveDomain.rng @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/conf/schemas/meson.build b/src/conf/schemas/meson.build index 1bb09b4c5d..9ec4c010d6 100644 --- a/src/conf/schemas/meson.build +++ b/src/conf/schemas/meson.build @@ -10,6 +10,7 @@ schema_files = [ 'domain.rng', 'domainoverrides.rng', 'domainsnapshot.rng', + 'inactiveDomain.rng', 'interface.rng', 'networkcommon.rng', 'networkport.rng',