[libvirt PATCH 01/16] qemu: report whether a CPU model is deprecated in dom capabilities

Ján Tomko jtomko at redhat.com
Mon Jan 25 10:14:45 UTC 2021


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210125/e7b0f3ef/attachment-0001.sig>


More information about the libvir-list mailing list