From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH 0/6] Set dirty log on qemu-xen. Date: Wed, 25 Jul 2012 18:04:11 +0100 Message-ID: <1343235857-15870-1-git-send-email-anthony.perard@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 Cc: Anthony PERARD , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org This patch series enables libxl to set dirty log on QEMU upstream during migration through a new QMP command. The success of the call depends on the presence of the specific QMP command xen-set-global-dirty-log in QEMU. Patches for this command have been sent. Also, a recent patch to libxl will probably prevent this from working. Anthony PERARD (6): libxl_json: Export json_object related function. libxl_json: Introduce libxl__json_object_to_yajl_gen. libxl_qmp: Introduces helpers to create an argument list. libxl_qmp: Use qmp_parameters_* functions for param list of a QMP command. libxl_qmp: Introduce libxl__qmp_set_global_dirty_log. libxl_dom: Call the right switch logdirty for the right DM. tools/libxl/libxl_dom.c | 41 ++++++++- tools/libxl/libxl_internal.h | 10 ++ tools/libxl/libxl_json.c | 97 ++++++++++++++++--- tools/libxl/libxl_qmp.c | 207 ++++++++++++++++++++++++++++++++---------- 4 files changed, 289 insertions(+), 66 deletions(-) -- Anthony PERARD