xen/public move and fix 9pfs documentation
v4 cover xen/public move and fix 9pfs documentation
Resend of the remaining 2 patches adding some more people to Cc:
Changes in V4:
- patch split into 3 patches
Juergen Gross (2):
xen/public: fix 9pfs Xenstore entry documentation xen/public: fix 9pfs documentation of connection sequence
xen/include/public/io/9pfs.h | 44 +++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 16 deletions(-)
Signature · 1 line
2.35.3
PATCH RESEND v4 1/2 xen/public: fix 9pfs Xenstore entry documentation
In xen/include/public/io/9pfs.h the documentation regarding the Xenstore entries isn't reflecting reality: the "tag" Xenstore entry is on the frontend side, not on the backend one.
---
V4:
- patch split off (Julien Grall)
--- xen/include/public/io/9pfs.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
xen/include/public/io/9pfs.h +6 -6
@@ -64,12 +64,6 @@* * Host filesystem path to share. * -* tag -* Values: <string> -* -* Alphanumeric tag that identifies the 9pfs share. The client needs -* to know the tag to be able to mount it. -* * security-model * Values: "none" *
@@ -106,6 +100,12 @@* map a page with information to setup a share ring. One for each * ring. * +* tag +* Values: <string> +* +* Alphanumeric tag that identifies the 9pfs share. The client needs +* to know the tag to be able to mount it. +* ****************************************************************************** * State Machine ******************************************************************************
Signature · 1 line
2.35.3
Re: [PATCH v4 1/2 RESEND] xen/public: fix 9pfs Xenstore entry documentation
Quoted 5 lines · Juergen Gross
In
xen/include/public/io/9pfs.hthe documentation regarding the Xenstore entries isn't reflecting reality: the "tag" Xenstore entry is on the frontend side, not on the backend one.Signed-off-by Juergen Gross <[email protected]>
Quoted 40 lines
---
V4:
- patch split off (Julien Grall)--- xen/include/public/io/9pfs.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)xen/include/public/io/9pfs.h +6
-6@@ -64,12 +64,6 @@* * Host filesystem path to share. * -* tag -* Values: <string> -* -* Alphanumeric tag that identifies the 9pfs share. The client needs -* to know the tag to be able to mount it. -* * security-model * Values: "none" * @@ -106,6 +100,12 @@* map a page with information to setup a share ring. One for each * ring. * +* tag +* Values: <string> +* +* Alphanumeric tag that identifies the 9pfs share. The client needs +* to know the tag to be able to mount it. +* ****************************************************************************** * State Machine ****************************************************************************** Signature · 1 line
2.35.3
PATCH RESEND v4 2/2 xen/public: fix 9pfs documentation of connection sequence
In reply to Juergen GrossThe documented connection sequence in xen/include/public/io/9pfs.h has a bug: the frontend needs to wait for the backend to have published its features before being able to allocate its rings and event-channels.
While correcting that, make it clear that there might be multiple rings and event-channels by adding "(s)".
---
V4:
- patch split off (Julien Grall)
--- xen/include/public/io/9pfs.h | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-)
xen/include/public/io/9pfs.h +22 -10
@@ -114,14 +114,26 @@* * *Front* *Back* * XenbusStateInitialising XenbusStateInitialising -* - Query virtual device - Query backend device -* properties. identification data. -* - Setup OS device instance. - Publish backend features -* - Allocate and initialize the and transport parameters -* request ring. | -* - Publish transport parameters | -* that will be in effect during V -* this connection. XenbusStateInitWait +* - Query backend device +* identification data. +* - Publish backend features +* and transport parameters. +* | +* | +* V +* XenbusStateInitWait +* +* - Query virtual device +* properties. +* - Query backend features and +* transport parameters. +* - Setup OS device instance. +* - Allocate and initialize the +* request ring(s) and +* event-channel(s). +* - Publish transport parameters +* that will be in effect during +* this connection. * | * | * V
@@ -129,8 +141,8 @@* * - Query frontend transport * parameters. -* - Connect to the request ring and -* event channel. +* - Connect to the request ring(s) +* and event channel(s). * | * | * V
Signature · 1 line
2.35.3
Re: [PATCH v4 2/2 RESEND] xen/public: fix 9pfs documentation of connection sequence
Quoted 8 lines · Juergen Gross
The documented connection sequence in
xen/include/public/io/9pfs.hhas a bug: the frontend needs to wait for the backend to have published its features before being able to allocate its rings and event-channels.While correcting that, make it clear that there might be multiple rings and event-channels by adding "(s)".
Signed-off-by Juergen Gross <[email protected]>
Quoted 60 lines
---
V4:
- patch split off (Julien Grall)--- xen/include/public/io/9pfs.h | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-)xen/include/public/io/9pfs.h +22
-10@@ -114,14 +114,26 @@* * *Front* *Back* * XenbusStateInitialising XenbusStateInitialising -* - Query virtual device - Query backend device -* properties. identification data. -* - Setup OS device instance. - Publish backend features -* - Allocate and initialize the and transport parameters -* request ring. | -* - Publish transport parameters | -* that will be in effect during V -* this connection. XenbusStateInitWait +* - Query backend device +* identification data. +* - Publish backend features +* and transport parameters. +* | +* | +* V +* XenbusStateInitWait +* +* - Query virtual device +* properties. +* - Query backend features and +* transport parameters. +* - Setup OS device instance. +* - Allocate and initialize the +* request ring(s) and +* event-channel(s). +* - Publish transport parameters +* that will be in effect during +* this connection. * | * | * V @@ -129,8 +141,8 @@* * - Query frontend transport * parameters. -* - Connect to the request ring and -* event channel. +* - Connect to the request ring(s) +* and event channel(s). * | * | * V Signature · 1 line
2.35.3