[libvirt] [PATCH 04/13] qemu: monitor: Add better APIs for adding of objects to qemu

Ján Tomko jtomko at redhat.com
Thu May 31 14:34:51 UTC 2018


On Wed, May 30, 2018 at 07:06:28PM +0200, Peter Krempa wrote:
>Use the new monitor command internal API to allow wrapping of the object
>name and alias into the JSON props so that they don't have to be passed
>out of band.
>
>The new API also takes a double pointer so that it can be cleared when
>the value is consumed so that it does not need to happen in every single
>caller.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_monitor.c      | 116 +++++++++++++++++++++++++++++++++++++++++--
> src/qemu/qemu_monitor.h      |  13 +++++
> src/qemu/qemu_monitor_json.c |  15 ++----
> src/qemu/qemu_monitor_json.h |   2 -
> 4 files changed, 129 insertions(+), 17 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180531/c50fc8a2/attachment-0001.sig>


More information about the libvir-list mailing list