]> xenbits.xensource.com Git - xen.git/commitdiff
tools/xenstore: add documentation for new set/get-feature commands
authorJuergen Gross <jgross@suse.com>
Mon, 18 Jul 2022 15:46:47 +0000 (17:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Jul 2022 15:46:47 +0000 (17:46 +0200)
Add documentation for two new Xenstore wire commands SET_FEATURE and
GET_FEATURE used to set or query the Xenstore features visible in the
ring page of a given domain.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
docs/misc/xenstore-ring.txt
docs/misc/xenstore.txt

index 2792d1353012df9f293ad37f904f8b3834bf8a3e..fe06af32fee437c5704153ac8158d8c199626c92 100644 (file)
@@ -69,6 +69,7 @@ Bit     Description
 -----------------------------------------------------------------
 0       Ring reconnection (see the ring reconnection feature below)
 1       Connection error indicator (see connection error feature below)
+2       GET_FEATURE and SET_FEATURE Xenstore wire commands are available
 
 The "Connection state" field is used to request a ring close and reconnect.
 The "Connection state" field only contains valid data if the server has
index 334dc8b6fdf59dbb9bc9b43794b22376317a5fe1..5f4c5c6a55d6fceeb75e92da30e1ac77daa97d74 100644 (file)
@@ -320,6 +320,18 @@ SET_TARGET         <domid>|<tdomid>|
 
        xenstored prevents the use of SET_TARGET other than by dom0.
 
+GET_FEATURE            <domid>|                <value>|
+SET_FEATURE            <domid>|<value>|
+       Returns or sets the contents of the "feature" field located at
+       offset 2064 of the Xenstore ring page of the domain specified by
+       <domid>. <value> is a decimal number being a logical or of the
+       feature bits as defined in docs/misc/xenstore-ring.txt. Trying
+       to set a bit for a feature not being supported by the running
+       Xenstore will be denied.
+
+       xenstored prevents the use of GET_FEATURE and SET_FEATURE other
+       than by dom0.
+
 ---------- Miscellaneous ----------
 
 CONTROL                        <command>|[<parameters>|]