From: Anthony PERARD Subject: [PATCH V7 0/7] Introduce a QMP client Date: Wed, 20 Jul 2011 22:24:24 +0100 Message-ID: <1311197072-16003-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel Cc: Ian Campbell , Anthony PERARD , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org New: - New patch that add set_default_namespaces to libxltypes.py, so we can set a namespace to use for a specific .idl. - New function: libxl__realloc and libxl__strndup. - The data is now pulled until it's completed (with a CRLF). Now libxl__json_parse expect only a whole json object. - Use of libxl__gc in sevreal place. Anthony PERARD (7): libxl: Rename libxl.idl to libxl_types.idl. libxl: Add get/set_default_namespace in libxltypes.py. libxl: Introduce libxl_internal_types.idl. libxl, Introduce libxl__realloc. libxl, Intruduce libxl__strndup. libxl: Introduce JSON parsing stuff. libxl, Introduce a QMP client tools/libxl/Makefile | 21 +- tools/libxl/gentypes.py | 15 +- tools/libxl/libxl.c | 2 + tools/libxl/libxl_create.c | 4 + tools/libxl/libxl_dm.c | 10 + tools/libxl/libxl_internal.c | 30 ++ tools/libxl/libxl_internal.h | 117 ++++++ tools/libxl/libxl_json.c | 505 +++++++++++++++++++++++ tools/libxl/libxl_qmp.c | 597 ++++++++++++++++++++++++++++ tools/libxl/{libxl.idl => libxl_types.idl} | 2 + tools/libxl/libxl_types_internal.idl | 9 + tools/libxl/libxltypes.py | 16 +- tools/ocaml/libs/xl/Makefile | 4 +- tools/python/Makefile | 4 +- 14 files changed, 1315 insertions(+), 21 deletions(-) create mode 100644 tools/libxl/libxl_json.c create mode 100644 tools/libxl/libxl_qmp.c rename tools/libxl/{libxl.idl => libxl_types.idl} (99%) create mode 100644 tools/libxl/libxl_types_internal.idl -- Anthony PERARD