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

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



commit 4d4cf97d418fffec76b8adf0aac3f9da81e10260
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Thu Sep 8 09:27:59 2022 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Sep 8 09:27:59 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 global Xenstore quota or those 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 054247c404..d49a07db21 100644
--- a/docs/misc/xenstore.txt
+++ b/docs/misc/xenstore.txt
@@ -337,6 +337,23 @@ 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>. Omitting <domid> will return or set the global quota
+       values, which are the default values for new domains. <quota> is
+        one of "nodes", "watches", "transactions", "node-size",
+       "permissions", or any other implementation defined value. For
+       GET_QUOTA it is possible to omit the <quota> parameter together
+       with the <domid> parameter, which will return a single string of
+       all supported <quota> values separated by blanks. <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#staging



 


Rackspace

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