From: Anthony PERARD Subject: [PATCH 0/7] libxl: QMP client improvement + pci passthrougth insert through QMP Date: Fri, 7 Oct 2011 13:10:11 +0100 Message-ID: <1317989418-25463-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: Anthony PERARD , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org This patch series improve the QMP client in lib XenLight to be able to insert a PCI passthrough device with the upstream QEMU. This require to apply the patch (RFC) series post earlier this week for QEMU. The first patch create a key in xenstore with the version of the running device model, here: /local/domain/$domid/dm-version The patch series require one patch from Ian: "libxl: IDL: autogenerate functions to produce JSON from libxl data structures" Anthony PERARD (7): libxl, Introduce dm-version xenstore key. libxl_qmp, Introduce an opaque argument to the callbacks. libxl_qmp, Introduce list of arguments to qmp_send libxl_qmp, Always insert a command id in the callback_list. libxl_qmp, Return the callback return code in qmp_next. libxl_qmp, Introduce libxl__qmp_pci_add. libxl, Use QMP to insert a passthrough device when using upstream QEMU tools/libxl/libxl_create.c | 5 ++ tools/libxl/libxl_internal.c | 19 +++++ tools/libxl/libxl_internal.h | 7 ++ tools/libxl/libxl_pci.c | 58 ++++++++++------ tools/libxl/libxl_qmp.c | 164 ++++++++++++++++++++++++++++++++++------- 5 files changed, 204 insertions(+), 49 deletions(-) -- Anthony PERARD