[libvirt] [PATCH v5 11/15] qemu_monitor: implement query-cpu-model-comparison
Jiri Denemark
jdenemar at redhat.com
Wed Oct 2 13:52:33 UTC 2019
On Thu, Sep 19, 2019 at 16:25:02 -0400, Collin Walling wrote:
> Interfaces with QEMU to compare CPU models. The command takes two CPU
> models, A and B, that are given a model name and an optional list of
> CPU features. Through the query-cpu-model-comparison command issued
> via QMP, a result is produced that contains the comparison evaluation
> string (identical, superset, subset, incompatible).
>
> The list of properties (aka CPU features) that is returned from the QMP
> response is ignored.
>
> Signed-off-by: Collin Walling <walling at linux.ibm.com>
> Reviewed-by: Daniel Henrique Barboza <danielh413 at gmail.com>
> ---
> src/qemu/qemu_monitor.c | 14 ++++++++++++++
> src/qemu/qemu_monitor.h | 5 +++++
> src/qemu/qemu_monitor_json.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_json.h | 6 ++++++
> 4 files changed, 67 insertions(+)
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
More information about the libvir-list
mailing list