qemu: report whether a machine type is deprecated in capabilities

QEMU has the ability to mark machine types as deprecated. This should be
exposed to management applications in the capabilities.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2021-01-22 12:16:23 +00:00
parent 5138a09260
commit 1e260cc449
15 changed files with 87 additions and 57 deletions

View File

@@ -407,6 +407,14 @@
<ref name="unsignedInt"/>
</attribute>
</optional>
<optional>
<attribute name="deprecated">
<choice>
<value>yes</value>
<value>no</value>
</choice>
</attribute>
</optional>
<text/>
</element>
</define>