[RESEND PATCH v2 12/18] xen: pvblock: Add initial support for para-virtualized block driver
Tom Rini
trini at konsulko.com
Fri Aug 14 21:50:58 CEST 2020
On Thu, Aug 06, 2020 at 12:42:55PM +0300, Anastasiia Lukianenko wrote:
> From: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
>
> 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 at epam.com>
> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
Applied to u-boot/master, thanks!
But please note:
ERROR: do not use assignment in if condition
#281: FILE: drivers/xen/pvblock.c:260:
+ if ((err = xenbus_switch_state(XBT_NIL, nodename,
in a few places in the driver (these without more context are possibly
OK, just bad style).
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200814/ac0ce79d/attachment.sig>
More information about the U-Boot
mailing list