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

[Minios-devel] [UNIKRAFT PATCH v3 00/14] Virtio Block Driver



Introduces the Virtio Block 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 virtio_blk.c
The interface which contains the configuration information is found
in virtio_blk.h

Changes since v2:
- Added two functions for virtqueue API
- Solved compilation errors for each patch individually
- Insert a check if there are some pending requests before calling stop function

Roxana Nicolescu (14):
  plat/virtio: Release an individual virtqueue
  plat/virtio: Introduce virtqueue_hasdata function
  plat/virtio: Skeleton for virtio block driver
  plat/drivers: Register virtio-blk with libukblkdev
  plat/drivers: Init virtio block device
  plat/drivers: Configure virtio block device
  plat/drivers: Create virtio-block queues
  plat/drivers: Configure virtio block queue
  plat/drivers: Enable/disable interrupts on virtio block queues
  plat/drivers: Start virtio block device
  plat/drivers: Request interface for virtio block
  plat/drivers: Flush requests for virtio block
  plat/drivers: Handle responses from backend for virtio block
  plat/drivers: Add rest of the interface for virtio block

 plat/drivers/include/virtio/virtio_blk.h | 212 +++++
 plat/drivers/include/virtio/virtio_bus.h |  21 +
 plat/drivers/include/virtio/virtqueue.h  |  10 +
 plat/drivers/virtio/virtio_blk.c         | 935 +++++++++++++++++++++++
 plat/drivers/virtio/virtio_pci.c         |  26 +
 plat/drivers/virtio/virtio_ring.c        |  20 +-
 plat/kvm/Config.uk                       |  12 +-
 plat/kvm/Makefile.uk                     |  12 +
 8 files changed, 1238 insertions(+), 10 deletions(-)
 create mode 100644 plat/drivers/include/virtio/virtio_blk.h
 create mode 100644 plat/drivers/virtio/virtio_blk.c

-- 
2.17.1


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