]> git.dujemihanovic.xyz Git - u-boot.git/commit
xen: pvblock: Add initial support for para-virtualized block driver
authorAnastasiia Lukianenko <anastasiia_lukianenko@epam.com>
Thu, 6 Aug 2020 09:42:55 +0000 (12:42 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 19:18:30 +0000 (15:18 -0400)
commit722bc5b5d901eafb96e8530cc7cf3036bff398a4
treedd7518078a82e91b14944d9136147e688e064992
parentc850674ff74b1625c17a77a454acec0e9cc6ec36
xen: pvblock: Add initial support for para-virtualized block driver

Add initial infrastructure for Xen para-virtualized block device.
This includes compile-time configuration and the skeleton for
the future driver implementation.
Add new class UCLASS_PVBLOCK which is going to be a parent for
virtual block devices.
Add new interface type IF_TYPE_PVBLOCK.

Implement basic driver setup by reading XenStore configuration.

Signed-off-by: Andrii Anisov <andrii_anisov@epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
15 files changed:
cmd/Kconfig
cmd/Makefile
cmd/pvblock.c [new file with mode: 0644]
common/board_r.c
configs/xenguest_arm64_defconfig
disk/part.c
drivers/Kconfig
drivers/block/blk-uclass.c
drivers/xen/Kconfig [new file with mode: 0644]
drivers/xen/Makefile
drivers/xen/pvblock.c [new file with mode: 0644]
include/blk.h
include/configs/xenguest_arm64.h
include/dm/uclass-id.h
include/pvblock.h [new file with mode: 0644]