[PATCH 6/7] schema: Add schema for '<inactiveDomain>' element used in the snapshot definition

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


On 8/25/22 11:46, Peter Krempa wrote:
> The '<inactiveDomain>' 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 <pkrempa at redhat.com>
> ---
>  src/conf/schemas/domaincommon.rng   |  7 +++++++
>  src/conf/schemas/domainsnapshot.rng |  5 +++++
>  src/conf/schemas/inactiveDomain.rng | 10 ++++++++++
>  3 files changed, 22 insertions(+)
>  create mode 100644 src/conf/schemas/inactiveDomain.rng
> 

Again, meson.build might be also interested in learning about this new file:

diff --git i/src/conf/schemas/meson.build w/src/conf/schemas/meson.build
index 1bb09b4c5d..9ec4c010d6 100644
--- i/src/conf/schemas/meson.build
+++ w/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',

Michal



More information about the libvir-list mailing list