[libvirt] [PATCH RFC 25/40] qemu: monitor: Add helper for generating data for block bitmap merging

Ján Tomko jtomko at redhat.com
Wed Oct 23 23:52:14 UTC 2019


On Fri, Oct 18, 2019 at 06:11:10PM +0200, Peter Krempa wrote:
>Introduce qemuMonitorTransactionBitmapMergeSourceAddBitmap which adds
>the appropriate entry into a virJSONValue array to be used with
>qemuMonitorTransactionBitmapMerge. Bitmap merging supports two possible
>formats and this new helper implements the more universal one specifying
>also the source node name.
>
>In addition use the new helper in the testQemuMonitorJSONTransaction
>test.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_monitor.c      |  9 +++++++++
> src/qemu/qemu_monitor.h      |  4 ++++
> src/qemu/qemu_monitor_json.c | 21 +++++++++++++++++++++
> src/qemu/qemu_monitor_json.h |  5 +++++
> tests/qemumonitorjsontest.c  |  4 ++--
> 5 files changed, 41 insertions(+), 2 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191024/d7897a6c/attachment-0001.sig>


More information about the libvir-list mailing list