[libvirt PATCH 02/10] schema: Add optional "mode" attribute to hyperv
Tim Wiederhake
twiederh at redhat.com
Fri Nov 26 14:34:54 UTC 2021
Allow for an optional attribute "mode", set to the string "custom".
Later patches will introduce different modes. Omitting this attribute
will default to "custom" for backwards compatibility.
Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
docs/schemas/domaincommon.rng | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3d57d417ca..14a4f528ab 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -7089,6 +7089,11 @@
<element name="hyperv">
<choice>
<group>
+ <optional>
+ <attribute name="mode">
+ <value>custom</value>
+ </attribute>
+ </optional>
<interleave>
<optional>
<element name="relaxed">
--
2.31.1
More information about the libvir-list
mailing list