This applies on top of the tls/secret alias refactoring series I've
posted earlier today:
https://www.redhat.com/archives/libvir-list/2018-May/msg02174.html
The main idea is to clarify the lifecycle of the objects used on the
monitor and clean up the code using it.
Peter Krempa (13):
qemu: command: Fix name of qemuBuildMemoryBackendStr
qemu: monitor: Rename qemuMonitorAddObject to qemuMonitorAddObjectType
qemu: Rename virQEMUBuildObjectCommandlineFromJSON
qemu: monitor: Add better APIs for adding of objects to qemu
util: qemu: Introduce helper for formatting command line from new
object props
qemu: hotplug: Refactor PR props formatting to use
qemuMonitorCreateObjectProps
qemu: hotplug: Refactor RNG props formatting to use
qemuMonitorCreateObjectProps
qemu: hotplug: Refactor memory props formatting to
qemuMonitorCreateObjectProps
qemu: hotplug: Refactor shmem props formatting to
qemuMonitorCreateObjectProps
qemu: hotplug: Refactor tls-credential props formatting to
qemuMonitorCreateObjectProps
qemu: hotplug: Refactor 'secret' props formatting to
qemuMonitorCreateObjectProps
qemu: Convert iothread hotplug to qemuMonitorCreateObjectProps
qemu: Delete old unused code for adding objects to qemu
src/qemu/qemu_command.c | 300 +++++++++++++++++----------------------
src/qemu/qemu_command.h | 18 +--
src/qemu/qemu_driver.c | 14 +-
src/qemu/qemu_hotplug.c | 148 +++++++------------
src/qemu/qemu_hotplug.h | 3 +-
src/qemu/qemu_migration_params.c | 5 +-
src/qemu/qemu_monitor.c | 98 +++++++++++--
src/qemu/qemu_monitor.h | 14 +-
src/qemu/qemu_monitor_json.c | 15 +-
src/qemu/qemu_monitor_json.h | 2 -
src/util/virqemu.c | 40 ++++--
src/util/virqemu.h | 5 +-
12 files changed, 336 insertions(+), 326 deletions(-)
--
2.16.2