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

[Minios-devel] [UNIKRAFT PATCH 1/9] plat/xen: Add 9P device type


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Sat, 7 Sep 2019 10:21:56 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ij9hX1ySdKkrPAWhk7SLWt0XoRQvcDoQUTjcBom1v9w=; b=JqSQCtc1gIqsy8wYFx7VoooakSQuTEwIh3napzkudkrndTSdJrm/Qc9qF/kK1w1ouS9ETpG2221JZz3Rm5LzCj+zCJKN1w2Y2j+C3Yr225SR2j+1x3xjxwsgnAogI8a3/4e85GcDLTSmDmxvft41TzbJELiRsONy+vpD4bpZ7niW0eqdSprynhdkOWjWdY54Pio8skN7S9XzLIdb++faJmp1vX7z+ap2DezQ4d1krzUAJUth0SNsh1gYnlPZwqA06VcTvGIGB8cpm/KoGpYwaydqLDWbOHgbqRIOS5baQKbyZI1x9jeVbqztsz394OMAXpOipsXma3YK6iCES2RcdQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A4qUp7HnP6PRaIlwl9BJ1NCHSlcy1M8F02mzwBavozFlv6cFIZw/6Fx/HNmZd0NegoJ2gDhUCwYPoPe3SP4IW9tOhH4G5d+s0XcJ/al31D+8Mi9LjSW1E9iaUcOYCJetLVikCIwBE22FTwg73hnIMDeSy6LDbXzQ0c6Vp4GQi4aUrWa4A37dFhqZDnsBI7DXujzKRqq0QwntPaOOCU6u8Lo7pgkOO0lTS3gVchc6NriXQxD6UkPr/5W/v9EJZnjEpAz/eNUOIpwmEXvvVmN932+fdxpRnB6g7aAR+BEvFB/Xm+firN2pI30lbYJbjaraaee1VynciQn5BrmhuDYcVA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>, Cristian Banu <cristb@xxxxxxxxx>
  • Delivery-date: Sat, 07 Sep 2019 10:22:01 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVZWYThJDJHQZLxU232/6XJPpT0g==
  • Thread-topic: [UNIKRAFT PATCH 1/9] plat/xen: Add 9P device type

From: Cristian Banu <cristb@xxxxxxxxx>

This patch adds the 9P device type entry in the xenbus device type enum.

Signed-off-by: Cristian Banu <cristb@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 a9d6436f..35ccd765 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_9pfs,
 } xenbus_dev_type_t;
 
 struct xenbus_device;
diff --git a/plat/xen/xenbus/client.c b/plat/xen/xenbus/client.c
index bd060638..56fd1b37 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(9pfs),
 };
 
 const char *xenbus_devtype_to_str(enum xenbus_dev_type devtype)
-- 
2.20.1


_______________________________________________
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®.