[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v3 00/17] 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 v2: - Unconfigure function doesn't free any memory related to blkfront_dev. Roxana Nicolescu (17): plat/xen: Update grants fields 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 | 25 + plat/xen/Makefile.uk | 11 + plat/xen/drivers/blk/blkfront.c | 968 +++++++++++++++++++++++++++++ plat/xen/drivers/blk/blkfront.h | 153 +++++ plat/xen/drivers/blk/blkfront_xb.h | 85 +++ plat/xen/drivers/blk/blkfront_xs.c | 553 ++++++++++++++++ plat/xen/drivers/blk/exportsyms.uk | 1 + plat/xen/gnttab.c | 72 ++- plat/xen/include/common/gnttab.h | 3 + plat/xen/include/xenbus/xenbus.h | 1 + plat/xen/xenbus/client.c | 1 + 11 files changed, 1858 insertions(+), 15 deletions(-) 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.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |