mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 00/13] introduce the Xen PV Calls frontend
@ 2017-10-24 17:33 Stefano Stabellini
  2017-10-24 17:33 ` [PATCH v6 01/13] xen/pvcalls: introduce the pvcalls xenbus frontend Stefano Stabellini
  0 siblings, 1 reply; 22+ messages in thread
From: Stefano Stabellini @ 2017-10-24 17:33 UTC (permalink / raw)
  To: xen-devel; +Cc: linux-kernel, sstabellini, jgross, boris.ostrovsky

Hi all,

this series introduces the frontend for the newly introduced PV Calls
procotol.

PV Calls is a paravirtualized protocol that allows the implementation of
a set of POSIX functions in a different domain. The PV Calls frontend
sends POSIX function calls to the backend, which implements them and
returns a value to the frontend and acts on the function call.

For more information about PV Calls, please read:

https://xenbits.xen.org/docs/unstable/misc/pvcalls.html

This patch series only implements the frontend driver. It doesn't
attempt to redirect POSIX calls to it. The functions exported in
pvcalls-front.h are meant to be used for that. A separate patch series
will be sent to use them and hook them into the system.


Changes in v6:
- rename PVCALLS_NR_REQ_PER_RING to PVCALLS_NR_RSP_PER_RING
- remove spin_lock/unlock around list_del_init in pvcalls_front_remove
- change list_del_init into list_del in pvcalls_front_remove,
  pvcalls_front_free_map and pvcalls_front_release
- add reviwed-bys
- return EOPNOTSUPP when functions are unimplemented in pvcalls-front
- return ret on error in pvcalls_front_accept
- return an error from __write_ring if size >= array_size
- return 0 instead of -EAGAIN from pvcalls_front_recvmsg when nothing
  was read
- add bool locked parameter to pvcalls_front_free_map
- move "kfree(map)" to pvcalls_front_free_map
- remove socketpass_mappings, now unused


Stefano Stabellini (13):
      xen/pvcalls: introduce the pvcalls xenbus frontend
      xen/pvcalls: implement frontend disconnect
      xen/pvcalls: connect to the backend
      xen/pvcalls: implement socket command and handle events
      xen/pvcalls: implement connect command
      xen/pvcalls: implement bind command
      xen/pvcalls: implement listen command
      xen/pvcalls: implement accept command
      xen/pvcalls: implement sendmsg
      xen/pvcalls: implement recvmsg
      xen/pvcalls: implement poll command
      xen/pvcalls: implement release command
      xen: introduce a Kconfig option to enable the pvcalls frontend

 drivers/xen/Kconfig         |    9 +
 drivers/xen/Makefile        |    1 +
 drivers/xen/pvcalls-front.c | 1273 +++++++++++++++++++++++++++++++++++++++++++
 drivers/xen/pvcalls-front.h |   28 +
 4 files changed, 1311 insertions(+)
 create mode 100644 drivers/xen/pvcalls-front.c
 create mode 100644 drivers/xen/pvcalls-front.h

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

end of thread, other threads:[~2017-10-26 18:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-24 17:33 [PATCH v6 00/13] introduce the Xen PV Calls frontend Stefano Stabellini
2017-10-24 17:33 ` [PATCH v6 01/13] xen/pvcalls: introduce the pvcalls xenbus frontend Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 02/13] xen/pvcalls: implement frontend disconnect Stefano Stabellini
2017-10-25 13:49     ` Boris Ostrovsky
2017-10-25 23:22       ` Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 03/13] xen/pvcalls: connect to the backend Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 04/13] xen/pvcalls: implement socket command and handle events Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 05/13] xen/pvcalls: implement connect command Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 06/13] xen/pvcalls: implement bind command Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 07/13] xen/pvcalls: implement listen command Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 08/13] xen/pvcalls: implement accept command Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 09/13] xen/pvcalls: implement sendmsg Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 10/13] xen/pvcalls: implement recvmsg Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 11/13] xen/pvcalls: implement poll command Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 12/13] xen/pvcalls: implement release command Stefano Stabellini
2017-10-25 14:32     ` Boris Ostrovsky
2017-10-25 23:00       ` Stefano Stabellini
2017-10-26 14:11         ` Boris Ostrovsky
2017-10-26 18:21           ` Stefano Stabellini
2017-10-24 17:33   ` [PATCH v6 13/13] xen: introduce a Kconfig option to enable the pvcalls frontend Stefano Stabellini
2017-10-25 14:39     ` Boris Ostrovsky
2017-10-25 22:56       ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome