Re: [PATCH v2 3/5] qemu_capabilities: query deprecated features for host-model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 25, 2024 at 14:46:37 -0500, Collin Walling wrote:
> Add QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION_DEPRECATED_PROPS for detecting
> if query-cpu-model-expansion can report deprecated CPU model properties.
> QEMU introduced this capability in 9.1 release.  Add flag and deprecated
> features to the capabilities test data for QEMU 9.1 and 9.2 replies/XML
> since it can now be accounted for.
> 
> When probing for the host CPU, perform a full CPU model expansion to
> retrieve the list of features deprecated across the entire architecture.
> The list and count are stored in the host's CPU model info within the
> QEMU capabilities.  Other info resulting from this query (e.g. model
> name, etc) is ignored.
> 
> The new capabilities flag is used to fence off the extra query for
> architectures/QEMU binaries that do not report deprecated CPU model
> features.
> 
> Signed-off-by: Collin Walling <walling@xxxxxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c                  |  38 ++
>  src/qemu/qemu_capabilities.h                  |   1 +
>  .../caps_9.1.0_s390x.replies                  | 348 +++++++++++++++++-
>  .../qemucapabilitiesdata/caps_9.1.0_s390x.xml |   7 +
>  .../caps_9.2.0_s390x.replies                  | 348 +++++++++++++++++-
>  .../qemucapabilitiesdata/caps_9.2.0_s390x.xml |   7 +
>  6 files changed, 745 insertions(+), 4 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux