[libvirt] [PATCH v5 05/15] qemu_monitor: allow cpu props to be optional

Jiri Denemark jdenemar at redhat.com
Wed Oct 2 13:51:38 UTC 2019


On Thu, Sep 19, 2019 at 16:24:56 -0400, Collin Walling wrote:
> Some older s390 CPU models (e.g. z900) will not report props as a
> response from query-cpu-model-expansion. As such, we should make the
> props field optional when parsing the return data from the QMP response.
> 
> Signed-off-by: Collin Walling <walling at linux.ibm.com>
> ---
>  src/qemu/qemu_capabilities.c | 10 ++++++++--
>  src/qemu/qemu_monitor.c      |  4 +++-
>  src/qemu/qemu_monitor.h      |  1 +
>  src/qemu/qemu_monitor_json.c | 24 ++++++++++++++++--------
>  src/qemu/qemu_monitor_json.h |  3 ++-
>  tests/cputest.c              |  6 +++++-
>  6 files changed, 35 insertions(+), 13 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar at redhat.com>




More information about the libvir-list mailing list