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

Re: [Minios-devel] [UNIKRAFT PATCH v3 02/17] plat/xen: Add block device type



Hi Roxana,

The order of device should always be console, network, block, 9pfs. I'll
make these changes on upstreaming.

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 10/30/19 5:54 PM, Roxana Nicolescu wrote:
> Add virtual block device type entry in the xenbus device type enum.
> 
> Signed-off-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 35ccd765..98313bee 100644
> --- a/plat/xen/include/xenbus/xenbus.h
> +++ b/plat/xen/include/xenbus/xenbus.h
> @@ -50,6 +50,7 @@
>  typedef enum xenbus_dev_type {
>       xenbus_dev_none = 0,
>       xenbus_dev_9pfs,
> +     xenbus_dev_vbd,
>  } xenbus_dev_type_t;
>  
>  struct xenbus_device;
> diff --git a/plat/xen/xenbus/client.c b/plat/xen/xenbus/client.c
> index 56fd1b37..8d681250 100644
> --- a/plat/xen/xenbus/client.c
> +++ b/plat/xen/xenbus/client.c
> @@ -75,6 +75,7 @@ const char *xenbus_state_to_str(XenbusState state)
>  static const char *const xb_devtype_tbl[] = {
>       XENBUS_DEVTYPE_ENTRY(none),
>       XENBUS_DEVTYPE_ENTRY(9pfs),
> +     XENBUS_DEVTYPE_ENTRY(vbd),
>  };
>  
>  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®.