Re: [libvirt] [PATCH 5/8] qemu: Extract generic part from qemuMonitorJSONGetDeviceProps()

2018-03-16 Thread John Ferlan
On 03/09/2018 10:07 AM, Andrea Bolognani wrote: > Querying properties for devices and objects is identical except > for the specific QMP command that needs to be called. > > Take the existing qemuMonitorJSONGetDeviceProps(), scrub all the > device-specific parts, thus turning it into the

[libvirt] [PATCH 5/8] qemu: Extract generic part from qemuMonitorJSONGetDeviceProps()

2018-03-09 Thread Andrea Bolognani
Querying properties for devices and objects is identical except for the specific QMP command that needs to be called. Take the existing qemuMonitorJSONGetDeviceProps(), scrub all the device-specific parts, thus turning it into the generic helper qemuMonitorJSONGetProps(), which is then used to