
On Thu, Sep 04, 2025 at 16:47:02 +0200, Jiri Denemark via Devel wrote:
From: Jiri Denemark <jdenemar@redhat.com>
With qom-list-get we already have the value of unavailable-features property in the returned object (just like we have all values of all bool properties). Let's use the value from there instead of querying for it separately using qom-get.
After this patch only a single QMP command is used for getting all the required info about guest CPUs created by QEMU 10.1 or newer.
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- src/qemu/qemu_monitor_json.c | 32 ++++++++++++++++--- .../get-guest-cpu-SierraForest.json | 23 ------------- .../get-guest-cpu-SkylakeClient.json | 14 -------- 3 files changed, 27 insertions(+), 42 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>