|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH V8 0/7] Introduce a QMP client
New:
- Rename set_default_namespace() to namespace(), this is much easier to read
in the .idl files.
- Make get_default_namespace and default_namespace "private" to libxltypes.py
with a leading '_'.
- libxl__realloc should now behave like realloc.
- Use libxl__ prefix when required.
- Rename libxl__json_object_get to libxl__json_map_get.
- Introduce libxl__json_map_node_get and libxl__json_array_get.
- Put libxl__yajl_gen_asciiz in libxl_json
- Make qmp_next easier to read by handling errors right after calls of select
and read.
Change v6-v7:
- 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
README | 1 +
tools/libxl/Makefile | 21 +-
tools/libxl/gentypes.py | 9 +-
tools/libxl/libxl.c | 2 +
tools/libxl/libxl_create.c | 4 +
tools/libxl/libxl_dm.c | 10 +
tools/libxl/libxl_internal.c | 34 ++
tools/libxl/libxl_internal.h | 122 ++++++
tools/libxl/libxl_json.c | 560 ++++++++++++++++++++++++++
tools/libxl/libxl_qmp.c | 587 ++++++++++++++++++++++++++++
tools/libxl/{libxl.idl => libxl_types.idl} | 2 +
tools/libxl/libxl_types_internal.idl | 9 +
tools/libxl/libxltypes.py | 18 +-
tools/ocaml/libs/xl/Makefile | 4 +-
tools/python/Makefile | 4 +-
15 files changed, 1369 insertions(+), 18 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH V8 0/7] Introduce a QMP client,
Anthony PERARD <=
|
|
|
|
|