[libvirt] [PATCHv2 0/3] query-cpu-model-baseline QMP command

Chris Venteicher posted 3 patches 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180419040647.32300-1-cventeic@redhat.com
Test syntax-check passed
src/qemu/qemu_monitor.c      |  13 ++++
src/qemu/qemu_monitor.h      |   5 ++
src/qemu/qemu_monitor_json.c | 175 +++++++++++++++++++++++++++++++++++++------
src/qemu/qemu_monitor_json.h |   7 ++
4 files changed, 178 insertions(+), 22 deletions(-)
[libvirt] [PATCHv2 0/3] query-cpu-model-baseline QMP command
Posted by Chris Venteicher 6 years ago
Implementation of libvirt functions to support the
QEMU query-cpu-model-baseline QMP command.

This is part of resolution of: https://bugzilla.redhat.com/show_bug.cgi?id=1511999

Signed-off-by: Chris Venteicher <cventeic@redhat.com>

diff to v1:
- Replaced c++ style comments with c style
- qemuMonitorJSONGetCPUModelInfo{ToJSON,FromJSON} use To/From form
- qemuMonitorJSONGetCPUModelInfo{ToJSON,FromJSON} return pointers not integers
- VIR_STEAL_PTR form used
- switch statement uses virReportEnumRangeError
- qemuMonitorJSONHasError(reply, "GenericError") treated as no info, not fatal error
- virJSONValueFree(cpu_props) during error case

Chris Venteicher (3):
  qemu_monitor_json: Populate CPUModelInfo struct from json
  qemu_monitor_json: Build Json CPU Model Info
  qemu_monitor: query-cpu-model-baseline QMP command

 src/qemu/qemu_monitor.c      |  13 ++++
 src/qemu/qemu_monitor.h      |   5 ++
 src/qemu/qemu_monitor_json.c | 175 +++++++++++++++++++++++++++++++++++++------
 src/qemu/qemu_monitor_json.h |   7 ++
 4 files changed, 178 insertions(+), 22 deletions(-)

-- 
2.14.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCHv2 0/3] query-cpu-model-baseline QMP command
Posted by Collin Walling 6 years ago
On 04/19/2018 12:06 AM, Chris Venteicher wrote:
> Implementation of libvirt functions to support the
> QEMU query-cpu-model-baseline QMP command.
> 
> This is part of resolution of: https://bugzilla.redhat.com/show_bug.cgi?id=1511999
> 
> Signed-off-by: Chris Venteicher <cventeic@redhat.com>
> 
> diff to v1:
> - Replaced c++ style comments with c style
> - qemuMonitorJSONGetCPUModelInfo{ToJSON,FromJSON} use To/From form
> - qemuMonitorJSONGetCPUModelInfo{ToJSON,FromJSON} return pointers not integers
> - VIR_STEAL_PTR form used
> - switch statement uses virReportEnumRangeError
> - qemuMonitorJSONHasError(reply, "GenericError") treated as no info, not fatal error
> - virJSONValueFree(cpu_props) during error case
> 
> Chris Venteicher (3):
>   qemu_monitor_json: Populate CPUModelInfo struct from json
>   qemu_monitor_json: Build Json CPU Model Info
>   qemu_monitor: query-cpu-model-baseline QMP command
> 
>  src/qemu/qemu_monitor.c      |  13 ++++
>  src/qemu/qemu_monitor.h      |   5 ++
>  src/qemu/qemu_monitor_json.c | 175 +++++++++++++++++++++++++++++++++++++------
>  src/qemu/qemu_monitor_json.h |   7 ++
>  4 files changed, 178 insertions(+), 22 deletions(-)
> 

Please CC me on future posts so they grab my attention easier :)

-- 
Respectfully,
- Collin Walling

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list