diff options
author | Anastasiia Lukianenko | 2020-08-06 12:42:55 +0300 |
---|---|---|
committer | Tom Rini | 2020-08-14 15:18:30 -0400 |
commit | 722bc5b5d901eafb96e8530cc7cf3036bff398a4 (patch) | |
tree | dd7518078a82e91b14944d9136147e688e064992 /include/blk.h | |
parent | c850674ff74b1625c17a77a454acec0e9cc6ec36 (diff) |
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>
Diffstat (limited to 'include/blk.h')
-rw-r--r-- | include/blk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h index abcd4bedbbb..9ee10fb80e7 100644 --- a/include/blk.h +++ b/include/blk.h @@ -33,6 +33,7 @@ enum if_type { IF_TYPE_HOST, IF_TYPE_NVME, IF_TYPE_EFI, + IF_TYPE_PVBLOCK, IF_TYPE_VIRTIO, IF_TYPE_COUNT, /* Number of interface types */ |