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

[xen master] tools/xenstore: add documentation for new set/get-quota commands



commit 6574f387791f18c85c64399ed83b4391adcb4881
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Mon Jul 18 17:47:04 2022 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jul 18 17:47:04 2022 +0200

    tools/xenstore: add documentation for new set/get-quota commands
    
    Add documentation for two new Xenstore wire commands SET_QUOTA and
    GET_QUOTA used to set or query the Xenstore quota of a given domain.
    
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
---
 docs/misc/xenstore-ring.txt |  1 +
 docs/misc/xenstore.txt      | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/docs/misc/xenstore-ring.txt b/docs/misc/xenstore-ring.txt
index fe06af32fe..aa71c56e4c 100644
--- a/docs/misc/xenstore-ring.txt
+++ b/docs/misc/xenstore-ring.txt
@@ -70,6 +70,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
+3       GET_QUOTA and SET_QUOTA 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
diff --git a/docs/misc/xenstore.txt b/docs/misc/xenstore.txt
index 5f4c5c6a55..629f962bb5 100644
--- a/docs/misc/xenstore.txt
+++ b/docs/misc/xenstore.txt
@@ -332,6 +332,18 @@ SET_FEATURE                <domid>|<value>|
        xenstored prevents the use of GET_FEATURE and SET_FEATURE other
        than by dom0.
 
+GET_QUOTA              <domid>|<quota>|        <value>|
+SET_QUOTA              <domid>|<quota>|<value>|
+       Returns or sets a quota value for the domain being specified by
+       <domid>. <quota> is one of "nodes", "watches", "transactions",
+       "node-size" or "permissions". <value> is a decimal number
+       specifying the quota value, with "0" having the special meaning
+       of quota checks being disabled. The initial quota settings for
+       a domain are the global ones of Xenstore.
+
+       xenstored prevents the use of GET_QUOTA and SET_QUOTA other
+       than by dom0.
+
 ---------- Miscellaneous ----------
 
 CONTROL                        <command>|[<parameters>|]
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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