WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH V6 0/3] Introduce a QMP client

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH V6 0/3] Introduce a QMP client
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Thu, 30 Jun 2011 18:30:42 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 30 Jun 2011 10:31:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
New:
  - Only one makefile rules for all user of gentypes.py.
  - No more #ifdef DEBUG_ANSWER in the code flow, there is now macros 
DEBUG_GEN_*
  - Introduce libxl_json.c for the JSON parsing stuff.

Change v4->v5:
  - Add a separate patch for XEN_RUN_DIR path.
  - Add a new patch to generate an some internal type with gentypes.py. It's
    used only to have a ENUM <-> String convertion with the QMP client.

  - libxl_qmp.h content have been moved to libxl_internal.h
  - return value of every single alloc are now check 
  - introduce some DEBUG_GEN_* macro to avoid some #ifdefs
  - remove unused exported function: libxL__qmp_next libxl__qmp_send_command
  - introduce libxl__qmp_query_serial and store all serial port chardev in
    xenstore.
  - introduce json_object_{get,is}_* inline functions.
  - coding style fixed

Anthony PERARD (3):
  libxl: Introduce libxl_internal_types.idl.
  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                 |    3 +
 tools/libxl/libxl_dm.c                     |    9 +
 tools/libxl/libxl_internal.h               |  117 ++++++
 tools/libxl/libxl_json.c                   |  521 +++++++++++++++++++++++++
 tools/libxl/libxl_qmp.c                    |  570 ++++++++++++++++++++++++++++
 tools/libxl/{libxl.idl => libxl_types.idl} |    0
 tools/libxl/libxl_types_internal.idl       |   10 +
 10 files changed, 1253 insertions(+), 15 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} (100%)
 create mode 100644 tools/libxl/libxl_types_internal.idl

-- 
1.7.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>