[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH v2 03/12] plat/xen: Add vif device type



Hi Costin,

Thanks for the patch!

Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@xxxxxxxxx>

On 01.04.2019 16:42, Costin Lupu wrote:
vif device type is used for virtual network interfaces.

Signed-off-by: Costin Lupu <costin.lupu@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 3d3b5408..a9cf765c 100644
--- a/plat/xen/include/xenbus/xenbus.h
+++ b/plat/xen/include/xenbus/xenbus.h
@@ -48,6 +48,7 @@
   */
  typedef enum xenbus_dev_type {
        xenbus_dev_none = 0,
+       xenbus_dev_vif,
  } xenbus_dev_type_t;
struct xenbus_device;
diff --git a/plat/xen/xenbus/client.c b/plat/xen/xenbus/client.c
index bd060638..0db2f977 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),
  };
const char *xenbus_devtype_to_str(enum xenbus_dev_type devtype)

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.