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

[PATCH 2/3] 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>
---
 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 bd000f694e..0cb72a3e35 100644
--- a/docs/misc/xenstore-ring.txt
+++ b/docs/misc/xenstore-ring.txt
@@ -69,6 +69,7 @@ Mask    Description
 1       Ring reconnection (see the ring reconnection feature below)
 2       Connection error indicator (see connection error feature below)
 4       GET_FEATURE and SET_FEATURE Xenstore wire commands are available
+8       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 31e3d53c52..dd75a81328 100644
--- a/docs/misc/xenstore.txt
+++ b/docs/misc/xenstore.txt
@@ -344,6 +344,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>|]
-- 
2.34.1




 


Rackspace

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