On a Thursday in 2021, Peter Krempa wrote:
We commonly use 'props' for the JSON object describing
something. Rename
the monitor device addition code.
Additionally the common approach is to clear the pointer if it was
consumed so the arguments are adjusted to do so.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_hotplug.c | 3 +--
src/qemu/qemu_monitor.c | 13 +++++++------
src/qemu/qemu_monitor.h | 4 ++--
src/qemu/qemu_monitor_json.c | 13 ++++++-------
src/qemu/qemu_monitor_json.h | 4 ++--
src/qemu/qemu_process.c | 3 +--
6 files changed, 19 insertions(+), 21 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano