[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT PATCH v5 01/10] plat/xen: Add vif device type
vif device type is used for virtual network interfaces. Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@xxxxxxxxx> --- plat/xen/include/xenbus/xenbus.h | 1 + plat/xen/xenbus/client.c | 1 + 2 files changed, 2 insertions(+) diff --git a/plat/xen/include/xenbus/xenbus.h b/plat/xen/include/xenbus/xenbus.h index 9fc942bc..fc6d6811 100644 --- a/plat/xen/include/xenbus/xenbus.h +++ b/plat/xen/include/xenbus/xenbus.h @@ -49,6 +49,7 @@ */ typedef enum xenbus_dev_type { xenbus_dev_none = 0, + xenbus_dev_vif, xenbus_dev_vbd, xenbus_dev_9pfs, } xenbus_dev_type_t; diff --git a/plat/xen/xenbus/client.c b/plat/xen/xenbus/client.c index 504b117e..d83f604d 100644 --- a/plat/xen/xenbus/client.c +++ b/plat/xen/xenbus/client.c @@ -74,6 +74,7 @@ const char *xenbus_state_to_str(XenbusState state) static const char *const xb_devtype_tbl[] = { XENBUS_DEVTYPE_ENTRY(none), + XENBUS_DEVTYPE_ENTRY(vif), XENBUS_DEVTYPE_ENTRY(vbd), XENBUS_DEVTYPE_ENTRY(9pfs), }; -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |