Re: [libvirt] [PATCH v5 24/36] qemu_monitor: Introduce qemuMonitorCPUModelInfo / JSON conversion

2019-01-04 Thread Jiri Denemark
On Sun, Dec 02, 2018 at 23:10:18 -0600, Chris Venteicher wrote: > Conversion functions are used convert CPUModelInfo structs into > QMP JSON and the reverse. > > QMP JSON is of form: > {"model": {"name": "IvyBridge", "props": {}}} > > qemuMonitorCPUModelInfoBoolPropAdd is used to add boolean

[libvirt] [PATCH v5 24/36] qemu_monitor: Introduce qemuMonitorCPUModelInfo / JSON conversion

2018-12-02 Thread Chris Venteicher
Conversion functions are used convert CPUModelInfo structs into QMP JSON and the reverse. QMP JSON is of form: {"model": {"name": "IvyBridge", "props": {}}} qemuMonitorCPUModelInfoBoolPropAdd is used to add boolean properties to CPUModelInfo struct. qemuMonitorJSONGetCPUModelExpansion makes