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

[xen staging] tools/xenstore: add documentation for new set/get-feature commands



commit e2bd45f4ca498c877a0bac8457832b02db676ae5
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Fri Aug 5 08:36:54 2022 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Aug 5 08:36:54 2022 +0200

    tools/xenstore: add documentation for new set/get-feature commands
    
    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@xxxxxxxx>
    Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>
---
 docs/misc/xenstore.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/misc/xenstore.txt b/docs/misc/xenstore.txt
index 334dc8b6fd..054247c404 100644
--- a/docs/misc/xenstore.txt
+++ b/docs/misc/xenstore.txt
@@ -320,6 +320,23 @@ 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 copied to
+       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. Providing no <domid> with the
+       GET_FEATURE command will return the features which are supported
+       by Xenstore.
+
+       SET_FEATURE for a domain will be rejected after the INTRODUCE
+       command for this domain has been sent to xenstored.
+
+       xenstored prevents the use of GET_FEATURE and SET_FEATURE other
+       than by dom0.
+
 ---------- Miscellaneous ----------
 
 CONTROL                        <command>|[<parameters>|]
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.