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

[RFC PATCH 0/6] Add gnttab IOCTLs that allow sharing already existing memory



This series of patches adds new GNTTAB IOCTLs that allow sharing memory
that the client has already prepared (existing IOCTLs share driver-allocated
memory). The new IOCTLs don't use RequestId numbers as input to simplify
client code. Xencontrol is updated to use the new IOCTLs.

Rafał Wojdyła (6):
  Fix minor xencontrol issues
  Fix parameter annotation for __FreeCapturedBuffer()
  __CaptureUserBuffer(): zero CapturedBuffer on failure in all cases
  Remove unused function declarations from ioctls.h
  Add gnttab IOCTLs that allow sharing already existing memory
  xencontrol: use IOCTL_XENIFACE_GNTTAB_*_V2 IOCTLs

 include/xencontrol.h                |  30 +-
 include/xeniface_ioctls.h           |  94 +++-
 src/xencontrol/xencontrol.c         | 186 +++-----
 src/xencontrol/xencontrol_private.h |  33 --
 src/xeniface/ioctl_gnttab.c         | 711 +++++++++++++++++-----------
 src/xeniface/ioctls.c               |  31 +-
 src/xeniface/ioctls.h               |  97 ++--
 src/xeniface/irp_queue.c            |  27 +-
 src/xeniface/irp_queue.h            |   2 +-
 9 files changed, 696 insertions(+), 515 deletions(-)

-- 
2.40.1.windows.1




 


Rackspace

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