libxl_qmp: Implementation of libxl__ev_qmp_*
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 8 Nov 2018 17:38:19 +0000 (17:38 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 11 Jan 2019 14:57:44 +0000 (14:57 +0000)
commita40e753fa1fe2d63dda63badd3807af40e3f7656
tree70c362876f72d465e7f8b2774cada49caa4072c2
parentdb19ee2544ecb9ce0a76a3a58816822687c911c1
libxl_qmp: Implementation of libxl__ev_qmp_*

This patch implement the API libxl__ev_qmp documented in the previous
patch, "libxl: Design of an async API to issue QMP commands to QEMU".

Since this API is to interact with QEMU via the QMP protocol, it also
implement a QMP client. The specification for the QEMU Machine Protocol
(QMP) can be found in the QEMU repository at:
https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/interop/qmp-spec.txt

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
[ wei: fix build ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_internal.h
tools/libxl/libxl_qmp.c
tools/libxl/libxl_types.idl