From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH v6 00/18] libxl: JSON infrastructure, fixes and prerequisite patches for new API Date: Mon, 9 Jun 2014 13:43:11 +0100 Message-ID: <1402317809-26833-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Wei Liu , ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org This series contains prerequisite patches to build the new libxl API called libxl_retrieve_domain_configuration. The design and implementation of that new API is being discussed at the moment. I think it's worthwhile to send out these prerequisite patches to reduce the length of patchset. This patch series contains 3 types of patches 1. push some configuration handling logic from xl to libxl 2. bugfix for JSON generator 3. JSON infrastructure: change to generator, introduce parser, introduce deep copy functions For previous posting please refer to <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> Legend: A - acked M - minor changes like commit message, coding style, comment in code etc C - changed since last version S - no change since last version, just reposting Wei. Wei Liu (18): A libxl: make cpupool_qualifier_to_cpupoolid a library function S xl / libxl: push parsing of SSID and CPU pool ID down to libxl C xl / libxl: push VCPU affinity pinning down to libxl M libxl: libxl_uuid_copy now takes a ctx argument A xl: remove parsing of "vncviewer" option in xl domain config file M libxl: fix JSON generator for uint64_t A libxl IDL: rename json_fn to json_gen_fn A libxl_json: introduce libxl__object_from_json A libxl_json: introduce parser functions for builtin types M libxl/gentypes.py: special-case KeyedUnion map handle generation C libxl/gentypes.py: don't generate default values C libxl IDL: generate code to parse libxl__json_object to libxl_FOO struct A libxl/gentest.py: test JSON parser A libxl: introduce libxl_key_value_list_length A libxl: introduce libxl_cpuid_policy_list_length A libxl: copy function for builtin types A libxl IDL: generate deep copy functions A libxl/gentest.py: test deep copy functions docs/man/xl.cfg.pod.5 | 4 - tools/libxl/gentest.py | 64 ++++++- tools/libxl/gentypes.py | 259 +++++++++++++++++++++++++-- tools/libxl/idl.py | 43 ++++- tools/libxl/idl.txt | 21 ++- tools/libxl/libxl.c | 101 ++++++++++- tools/libxl/libxl.h | 85 ++++++++- tools/libxl/libxl_cpuid.c | 135 ++++++++++++-- tools/libxl/libxl_create.c | 59 ++++++- tools/libxl/libxl_dm.c | 4 + tools/libxl/libxl_dom.c | 14 ++ tools/libxl/libxl_internal.h | 8 + tools/libxl/libxl_json.c | 322 ++++++++++++++++++++++++++++++++++ tools/libxl/libxl_json.h | 37 +++- tools/libxl/libxl_nocpuid.c | 13 ++ tools/libxl/libxl_types.idl | 48 +++-- tools/libxl/libxl_types_internal.idl | 4 +- tools/libxl/libxl_utils.c | 58 +++++- tools/libxl/libxl_utils.h | 7 + tools/libxl/libxl_uuid.c | 8 +- tools/libxl/libxl_uuid.h | 7 +- tools/libxl/xl_cmdimpl.c | 239 +++++++------------------ tools/libxl/xl_sxp.c | 7 +- 23 files changed, 1288 insertions(+), 259 deletions(-) -- 1.7.10.4