On a Friday in 2021, Daniel P. Berrangé wrote:
QEMU has the ability to mark CPUs as deprecated. This should be
exposed
to management applications in the domain capabilities.
This attribute is only set when the model is actually deprecated.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
docs/formatdomaincaps.html.in | 10 ++++++----
docs/schemas/domaincaps.rng | 8 ++++++++
src/conf/domain_capabilities.c | 14 ++++++++++----
src/conf/domain_capabilities.h | 4 +++-
src/qemu/qemu_capabilities.c | 10 +++++++++-
src/qemu/qemu_monitor.c | 1 +
src/qemu/qemu_monitor.h | 1 +
src/qemu/qemu_monitor_json.c | 4 ++++
tests/cputest.c | 4 ++--
tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml | 4 ++--
tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml | 4 ++--
tests/domaincapsdata/qemu_5.2.0.x86_64.xml | 4 ++--
tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml | 16 ++++++++--------
13 files changed, 58 insertions(+), 26 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano