[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v4 0/7] Add Xenbus support


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 17 Sep 2018 13:32:24 +0300
  • Cc: yuri.volchkov@xxxxxxxxx
  • Delivery-date: Mon, 17 Sep 2018 10:32:47 +0000
  • Ironport-phdr: 9a23:RbdX2BOOfNl6ItA6UYgl6mtUPXoX/o7sNwtQ0KIMzox0Ivz5rarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37W/ZhM93gq9AvB6tuwZyz5LObY2JKPZzeL7Wc9MARWpGW8ZcTzJMAoSnb4sTDuoBO/tToY/gp1sWsBu1GA6hC//oyj9Tmn/23Ks63/4lEQHbxAwgAskDv2jPrNnvLKcSTPu6wLPSzTXEdv5b3yr25ovQch05vP2BUq98fdDSxEQvDQ/JkEucpI7/Mz6bzugBrmeW4/d6We+si2MrsR99rzahy8s2l4XEiZwZx1bZ/itj2ok1P8e3SEtjbN6hF5tfqj+VOpNtQsMnX2FooCE6yqAauZKjfCgF1pAnxxnHZvyZdoiH+BPjVOKLLThkn3JpYqq/hwup/kS60O38UdG40FdMriVbjtnBrm0B2hPO5sSdSfZw/l2t1SiR2w3R8O1JL1g4la/BJJ4gxr4wmIATsUPGHiLuhEr2i7SWdlkl+uiu8ejnZqjmpoeBN4Jvlg7+Kb4imtSiAesjKAQORW+b9fym1LL/5U35XKlKjvoun6ncsZDaI8UbpqmiAwNMz4ks9Qi/ACmi0NkDmXkHLUlFeA6cj4TzNFDBPvb4Ae24g1S2nzdh3+rGMaH5ApXRMnjDl6/sfLZg605GyQo/185f55VQCr4dIPLzWUjxtMLDAx8/LQO73+LnB89m2Y8ER22PH/zRDKSHtF6O5+U0ZuWBeoIRkDL8MOQ+oe7jizk+g1BOU7Ou2M48b2ukH/IuB1iBfDK4idAaDWYM+A4jVPHCg0bESSNZIWy1CfFvrgonAZ6rWN+QDrumh6aMiX+2
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

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

Changes since v3:
- Change parameters order for 'xenbus_switch_state'
- Swap patches '09/10 - plat/xen: Add driver state functions 
to client API' and '10/10 - plat/xen: Add Xenbus device 
probing' and keep 'xenbus_read_driver_state' function in the 
latter

Costin Lupu (7):
  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 Xenbus device probing
  plat/xen: Add driver state functions to client API

 plat/xen/Makefile.uk             |   5 +
 plat/xen/include/xenbus/client.h | 125 +++++++
 plat/xen/include/xenbus/xenbus.h |  33 +-
 plat/xen/include/xenbus/xs.h     | 301 ++++++++++++++++
 plat/xen/xenbus/client.c         | 239 +++++++++++++
 plat/xen/xenbus/exportsyms.uk    |  32 ++
 plat/xen/xenbus/xenbus.c         | 139 +++++++-
 plat/xen/xenbus/xs.c             | 737 +++++++++++++++++++++++++++++++++++++++
 plat/xen/xenbus/xs_comms.c       | 624 +++++++++++++++++++++++++++++++++
 plat/xen/xenbus/xs_comms.h       |  64 ++++
 plat/xen/xenbus/xs_watch.c       | 121 +++++++
 plat/xen/xenbus/xs_watch.h       |  81 +++++
 12 files changed, 2499 insertions(+), 2 deletions(-)
 create mode 100644 plat/xen/include/xenbus/client.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/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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.