]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor: implement query-cpu-model-comparison
authorCollin Walling <walling@linux.ibm.com>
Thu, 19 Sep 2019 20:25:02 +0000 (16:25 -0400)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 7 Oct 2019 08:10:17 +0000 (10:10 +0200)
commit8b28fd74a02fb69a9501c38287f1e316d9c0c714
treeaf5e97cb458d7b1180e0563f80f5e07eca70c325
parentaa797c66256700eeed3f76a5e9f6bfcf9136ecf8
qemu_monitor: implement query-cpu-model-comparison

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@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielh413@gmail.com>
Message-Id: <1568924706-2311-12-git-send-email-walling@linux.ibm.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h