On a Friday in 2021, Daniel P. Berrangé wrote:
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(a)redhat.com>
---
docs/schemas/capability.rng | 8 ++++++++
src/conf/capabilities.c | 2 ++
src/conf/capabilities.h | 1 +
src/qemu/qemu_capabilities.c | 17 ++++++++++++++---
src/qemu/qemu_capspriv.h | 3 ++-
src/qemu/qemu_monitor.h | 1 +
src/qemu/qemu_monitor_json.c | 4 ++++
.../qemucapabilitiesdata/caps_4.1.0.x86_64.xml | 16 ++++++++--------
tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml | 4 ++--
.../qemucapabilitiesdata/caps_4.2.0.x86_64.xml | 16 ++++++++--------
.../qemucapabilitiesdata/caps_5.0.0.x86_64.xml | 16 ++++++++--------
.../qemucapabilitiesdata/caps_5.1.0.x86_64.xml | 16 ++++++++--------
.../qemucapabilitiesdata/caps_5.2.0.x86_64.xml | 16 ++++++++--------
tests/testutilsqemu.c | 8 +++++---
14 files changed, 79 insertions(+), 49 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano