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

[Minios-devel] [UNIKRAFT PATCH v2 00/16] Xen Blkfront Driver



Introduces the Xen Blkfront Driver implementation based on Unikraft Block
API.

It supports the basic functions from the API: configure, queue setup,
start/stop, send/receive requests which are implemented in blkfront.c.
The communication with Backend through Xenstore is separated in
blkfront_xb.h and blkfront_xs.c.

Changes from v1:
- Queue reference instead of queue_id parameter for callback functions.

Roxana Nicolescu (16):
  plat/xen: Add block device type
  plat/xen/drivers: Blkfront driver skeleton
  plat/xen/drivers/blk: Register blkfront with libukblkdev
  plat/xen/drivers/blk: Init Xenbus Device
  plat/xen/drivers/blk: Configure block device
  plat/xen/drivers/blk: Create blkfront queues
  plat/xen/drivers/blk: Configure blkfront queue
  plat/xen/drivers/blk: Enable/disable interrupts for queues
  plat/xen/drivers/blk: Start blkfront device
  plat/xen/drivers/blk: Write queues information to Xenstore
  plat/xen/drivers/blk: Read device capabilities
  plat/xen/drivers/blk: Send requests to backend
  plat/xen/drivers/blk: Flush requests
  plat/xen/drivers/blk: Handle responses from backend
  plat/xen/drivers/blk: Grant references support
  plat/xen/drivers/blk: Optimize using pool of grant refs for each queue

 plat/xen/Config.uk                 |  26 +
 plat/xen/Makefile.uk               |  11 +
 plat/xen/drivers/blk/blkfront.c    | 966 +++++++++++++++++++++++++++++++++++++
 plat/xen/drivers/blk/blkfront.h    | 154 ++++++
 plat/xen/drivers/blk/blkfront_xb.h |  86 ++++
 plat/xen/drivers/blk/blkfront_xs.c | 552 +++++++++++++++++++++
 plat/xen/drivers/blk/exportsyms.uk |   1 +
 plat/xen/include/xenbus/xenbus.h   |   1 +
 plat/xen/xenbus/client.c           |   1 +
 9 files changed, 1798 insertions(+)
 create mode 100644 plat/xen/drivers/blk/blkfront.c
 create mode 100644 plat/xen/drivers/blk/blkfront.h
 create mode 100644 plat/xen/drivers/blk/blkfront_xb.h
 create mode 100644 plat/xen/drivers/blk/blkfront_xs.c
 create mode 100644 plat/xen/drivers/blk/exportsyms.uk

-- 
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®.