From d34dc88098c974acbd4fe774dcdb2b8b631bc386 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Mon, 27 Jan 2020 15:19:07 +0000 Subject: [PATCH] docs: retrospectively add XS_DIRECTORY_PART to the xenstore protocol... ... specification. This was added by commit 0ca64ed8 "xenstore: add support for reading directory with many children" but not added to the specification at that point. A version of xenstored supporting the command was first released in Xen 4.9. Signed-off-by: Paul Durrant Acked-by: Ian Jackson Backport: 4.9+ --- docs/misc/xenstore.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/misc/xenstore.txt b/docs/misc/xenstore.txt index ae1b6a8c6e..bf42e9ec37 100644 --- a/docs/misc/xenstore.txt +++ b/docs/misc/xenstore.txt @@ -125,8 +125,9 @@ Values commonly included in payloads include: -The following are the actual type values, including the request and -reply payloads as applicable: +The following are the actual type values defined in io/xs_wire.h +(omitting the XS_ prefix), including the request and reply payloads +as applicable: ---------- Database read, write and permissions operations ---------- @@ -152,6 +153,14 @@ DIRECTORY | |* leafnames. The resulting children are each named /. +DIRECTORY_PART | |* + Performs the same function as DIRECTORY, but returns a + sub-list of children starting at in the overall + child list and less than or equal to XENSTORE_PAYLOAD_MAX + octets in length. If is beyond the end of the + overall child list then the returned sub-list will be + empty. + GET_PERMS | |+ SET_PERMS ||+? is one of the following -- 2.39.5