xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/4] new ring macros, 9pfs and pvcalls headers
@ 2017-03-28 22:07 Stefano Stabellini
  2017-03-28 22:08 ` [PATCH v5 1/4] ring.h: introduce macros to handle monodirectional rings with multiple req sizes Stefano Stabellini
  0 siblings, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2017-03-28 22:07 UTC (permalink / raw)
  To: xen-devel; +Cc: sstabellini, JBeulich

Hi all,

this patch series introduces a set of new ring macros to support rings
in the formats specified by the Xen 9pfs transport and PV Calls
protocol. It also introduces the Xen 9pfs and PV Calls protocols
headers.

Changes in v5:
- parenthesize uses of macro parameters in XEN_FLEX_RING_SIZE
- add grant_table.h to the list of prereqs in ring.h and remove the
  #include from ring.h
- #include grant_table.h in 9pfs.h and pvcalls.h
- remove PAGE_SHIFT definition, define XEN_PAGE_SHIFT instead
- code style fixes
- remove struct xen_9pfs_header definition
- don't add extra -include cstring to all c++ tests, only when needed
- add headers99.chk to .gitignore 

Changes in v4:
- include ../grant_table.h in ring.h
- add a comment about required declarations on top of ring.h
- add a patch to introduce a C99 headers check
- add -include string.h to the existing C++ headers check
- add 9pfs and pvcalls to the C99 headers check

Changes in v3:
- fix commit message
- add newlines after read/write_packet functions
- reorder DEFINE_XEN_FLEX_RING_AND_INTF and DEFINE_XEN_FLEX_RING

Changes in v2:
- replace __attribute__((packed)) with #pragma pack
- remove XEN_9PFS_RING_ORDER, the 9pfs ring order should be dynamic
- add editor configuration blocks
- add links to the specs


Stefano Stabellini (4):
      ring.h: introduce macros to handle monodirectional rings with multiple req sizes
      xen: introduce a C99 headers check
      Introduce the Xen 9pfs transport header
      Introduce the pvcalls header

 .gitignore                      |   1 +
 xen/include/Makefile            |  29 ++++++--
 xen/include/public/io/9pfs.h    |  49 +++++++++++++
 xen/include/public/io/pvcalls.h | 153 ++++++++++++++++++++++++++++++++++++++++
 xen/include/public/io/ring.h    | 150 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 378 insertions(+), 4 deletions(-)
 create mode 100644 xen/include/public/io/9pfs.h
 create mode 100644 xen/include/public/io/pvcalls.h

Cheers,

Stefano

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

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

end of thread, other threads:[~2017-03-29 22:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 22:07 [PATCH v5 0/4] new ring macros, 9pfs and pvcalls headers Stefano Stabellini
2017-03-28 22:08 ` [PATCH v5 1/4] ring.h: introduce macros to handle monodirectional rings with multiple req sizes Stefano Stabellini
2017-03-28 22:08   ` [PATCH v5 2/4] xen: introduce a C99 headers check Stefano Stabellini
2017-03-29  9:38     ` Jan Beulich
2017-03-29 22:15       ` Stefano Stabellini
2017-03-28 22:08   ` [PATCH v5 3/4] Introduce the Xen 9pfs transport header Stefano Stabellini
2017-03-28 22:08   ` [PATCH v5 4/4] Introduce the pvcalls header Stefano Stabellini
2017-03-29  9:33   ` [PATCH v5 1/4] ring.h: introduce macros to handle monodirectional rings with multiple req sizes Jan Beulich
2017-03-29 20:27     ` Stefano Stabellini
2017-03-29  9:42   ` Jan Beulich
2017-03-29 20:09     ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).