All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] add function support to IDL
@ 2020-07-27 13:26 Nick Rosbrook
  2020-07-27 13:26 ` [RFC PATCH 1/2] libxl: add Function class " Nick Rosbrook
  2020-07-27 13:26 ` [RFC PATCH 2/2] libxl: prototype libxl_device_nic_add/remove with IDL Nick Rosbrook
  0 siblings, 2 replies; 7+ messages in thread
From: Nick Rosbrook @ 2020-07-27 13:26 UTC (permalink / raw)
  To: xen-devel
  Cc: Nick Rosbrook, Anthony PERARD, Ian Jackson, george.dunlap,
	Wei Liu

At a Xen Summit design session for the golang bindings (see [1]), we
agreed that it would be beneficial to expand the libxl IDL with function
support. In addition to benefiting libxl itself, this would allow other
language bindings to easily generate function wrappers.

These RFC patches outline a potential strategy for accomplishing this
goal. The first patch adds the Function and CtxFunction classes to
libxl/idl.py, introducing the idea of functions to the IDL. The second
patch adds a DeviceFunction class and adds some sample definitions to
libxl/libxl_types.idl for example purposes.

[1] https://lists.xenproject.org/archives/html/xen-devel/2020-07/msg00964.html

Nick Rosbrook (2):
  libxl: add Function class to IDL
  libxl: prototype libxl_device_nic_add/remove with IDL

 tools/golang/xenlight/gengotypes.py |  2 +-
 tools/libxl/gentypes.py             |  2 +-
 tools/libxl/idl.py                  | 54 ++++++++++++++++++++++++++++-
 tools/libxl/libxl_types.idl         |  6 ++++
 4 files changed, 61 insertions(+), 3 deletions(-)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-17 15:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-27 13:26 [RFC PATCH 0/2] add function support to IDL Nick Rosbrook
2020-07-27 13:26 ` [RFC PATCH 1/2] libxl: add Function class " Nick Rosbrook
2020-08-14 10:52   ` Anthony PERARD
2020-08-17 15:26     ` Nick Rosbrook
2020-07-27 13:26 ` [RFC PATCH 2/2] libxl: prototype libxl_device_nic_add/remove with IDL Nick Rosbrook
2020-08-14 10:57   ` Anthony PERARD
2020-08-17 15:44     ` Nick Rosbrook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.