xen-devel
[Xen-devel] [PATCH V2 00/11] libxl: QMP client improvement + pci passthr
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 three patches are fix.
The first patch create a key in xenstore with the version of the running device
model, here: /libxl/$domid/dm-version
Change with v1:
- 3 new patches, with small fix.
- add a structure in qmp, qmp_request_handle, to carry the return code of a
callback.
- the xenstore key for the dm-version is now in /libxl/$domid, instead of
/local/domain/$domid
- new patch to parse number bigger than LONG_MAX for json.
- an user specified vdevfn for a pci passthrough devices is now handle.
- in the last patch, the code to handle a pci-add through xenstore have is
own function. that help a bit to keep the code under 80col.
Anthony PERARD (11):
libxl_qmp, Fix return check of fcntl
libxl_json, Check the parser status before to call parse_complete
libxl_qmp, Better error message after a parse error.
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, Introduce qmp_request_handle.
libxl_json, Handle number abrove LONG_MAX.
libxl_qmp, Introduce libxl__qmp_pci_add.
libxl, Use QMP to insert a passthrough device when using upstream
QEMU
tools/libxl/libxl.c | 2 +
tools/libxl/libxl_create.c | 28 ++++++
tools/libxl/libxl_internal.c | 19 ++++
tools/libxl/libxl_internal.h | 16 +++-
tools/libxl/libxl_json.c | 56 ++++++-----
tools/libxl/libxl_pci.c | 71 ++++++++++-----
tools/libxl/libxl_qmp.c | 214 +++++++++++++++++++++++++++++++++++-------
7 files changed, 322 insertions(+), 84 deletions(-)
--
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 V2 00/11] libxl: QMP client improvement + pci passthrougth insert through QMP,
Anthony PERARD <=
- [Xen-devel] [PATCH V2 03/11] libxl_qmp, Better error message after a parse error., Anthony PERARD
- [Xen-devel] [PATCH V2 01/11] libxl_qmp, Fix return check of fcntl, Anthony PERARD
- [Xen-devel] [PATCH V2 04/11] libxl, Introduce dm-version xenstore key., Anthony PERARD
- [Xen-devel] [PATCH V2 06/11] libxl_qmp, Introduce list of arguments to qmp_send, Anthony PERARD
- [Xen-devel] [PATCH V2 07/11] libxl_qmp, Always insert a command id in the callback_list., Anthony PERARD
- [Xen-devel] [PATCH V2 10/11] libxl_qmp, Introduce libxl__qmp_pci_add., Anthony PERARD
|
|
|