[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v3 00/10] Add Xenbus support
The current patch series introduce the implementation for Xenbus and Xenstore communication support. Changes since v1: - Add 'strdup' to nolibc - Split Xenbus patch into multiple patches - Remove 'xs_join' from Xenstore API - Change 'xs_readf' to 'xs_scanf' - Rewrite API for setting Xenstore permissions - Redesign watches logic - Rename 'xs_req' structure to 'xs_iovec' - Rewrite IDs allocation logic for Xenstore requests - Remove 'xenbus_wait_for_value' function from client API. - Update documentation Changes since v2: - Keep error number sign in errptr.h macros - Add 'strndup' to nolibc - Add exportsyms.uk - Bring back XS_IOVEC_STR_NULL - Add 'xs_del_perm' function for deleting permissions - Rename REQID_MAP_* macros to XS_REQ_POOL_* - Use the xenstore thread for sending requests - Allocate request IDs sequentially Costin Lupu (10): errptr.h: Keep the sign for errno values in ERR2PTR, PTR2ERR lib/nolibc: Add strndup and strdup functions plat/xen: Add Xenbus driver registration support plat/xen: Add support for communication with Xenstore daemon plat/xen: Add API for Xenstore messages plat/xen: Introduce client API for Xenbus drivers plat/xen: Introduce Xenbus watch plat/xen: Add Xenstore watch support plat/xen: Add driver state functions to client API plat/xen: Add Xenbus device probing include/uk/errptr.h | 4 +- lib/nolibc/exportsyms.uk | 2 + lib/nolibc/include/string.h | 2 + lib/nolibc/string.c | 22 ++ plat/xen/Config.uk | 8 + plat/xen/Makefile.uk | 15 +- plat/xen/include/xenbus/client.h | 125 +++++++ plat/xen/include/xenbus/xenbus.h | 149 ++++++++ plat/xen/include/xenbus/xs.h | 301 ++++++++++++++++ plat/xen/xenbus/client.c | 239 +++++++++++++ plat/xen/xenbus/exportsyms.uk | 34 ++ plat/xen/xenbus/xenbus.c | 257 ++++++++++++++ plat/xen/xenbus/xs.c | 735 +++++++++++++++++++++++++++++++++++++++ plat/xen/xenbus/xs_comms.c | 622 +++++++++++++++++++++++++++++++++ plat/xen/xenbus/xs_comms.h | 64 ++++ plat/xen/xenbus/xs_watch.c | 121 +++++++ plat/xen/xenbus/xs_watch.h | 81 +++++ 17 files changed, 2778 insertions(+), 3 deletions(-) create mode 100644 plat/xen/include/xenbus/client.h create mode 100644 plat/xen/include/xenbus/xenbus.h create mode 100644 plat/xen/include/xenbus/xs.h create mode 100644 plat/xen/xenbus/client.c create mode 100644 plat/xen/xenbus/exportsyms.uk create mode 100644 plat/xen/xenbus/xenbus.c create mode 100644 plat/xen/xenbus/xs.c create mode 100644 plat/xen/xenbus/xs_comms.c create mode 100644 plat/xen/xenbus/xs_comms.h create mode 100644 plat/xen/xenbus/xs_watch.c create mode 100644 plat/xen/xenbus/xs_watch.h -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |