From: Tim Wiederhake Date: Wed, 30 Sep 2020 11:55:01 +0000 (+0200) Subject: schema: Add schema for guest or host cpu definition X-Git-Tag: v6.9.0-rc1~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d325240c645ea6c1a0902c695cf299410b1f90c;p=thirdparty%2Flibvirt.git schema: Add schema for guest or host cpu definition `virsh cpu-compare` and `virsh hypervisor-cpu-compare` both accept guest and host cpu definitions. This schema is able to validate both possibilities. Signed-off-by: Tim Wiederhake Reviewed-by: Peter Krempa --- diff --git a/docs/schemas/cpu.rng b/docs/schemas/cpu.rng new file mode 100644 index 0000000000..d1eb67430d --- /dev/null +++ b/docs/schemas/cpu.rng @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/docs/schemas/meson.build b/docs/schemas/meson.build index 7fc7ff0503..bb6a48787f 100644 --- a/docs/schemas/meson.build +++ b/docs/schemas/meson.build @@ -1,6 +1,7 @@ docs_schema_files = [ 'basictypes.rng', 'capability.rng', + 'cpu.rng', 'cputypes.rng', 'domainbackup.rng', 'domaincaps.rng',