[libvirt] [PATCH v5 04/15] qemu_monitor: add features to CPU model for QMP command
Jiri Denemark
jdenemar at redhat.com
Wed Oct 2 13:51:30 UTC 2019
On Thu, Sep 19, 2019 at 16:24:55 -0400, Collin Walling wrote:
> query-cpu-model-baseline/comparison will accept a list of features
> as part of the command. Since CPUs may be defined with CPU feature
> policies, let's parse it to the appropriate boolean that the QMP
> command expects.
>
> A feature that is set to required, force, or if it is a hypervisor
> CPU feature (-1), then set the property value to true. Otherwise
> (optional, disabled) set the value to false.
>
> Signed-off-by: Collin Walling <walling at linux.ibm.com>
> ---
> src/qemu/qemu_monitor_json.c | 30 +++++++++++++++++++++++++-----
> 1 file changed, 25 insertions(+), 5 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
More information about the libvir-list
mailing list