From: Juergen Gross Date: Mon, 18 Jul 2022 15:47:04 +0000 (+0200) Subject: tools/xenstore: add documentation for new set/get-quota commands X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~429 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6574f387791f18c85c64399ed83b4391adcb4881;p=xen.git 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 Reviewed-by: Luca Fancellu --- 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 || xenstored prevents the use of GET_FEATURE and SET_FEATURE other than by dom0. +GET_QUOTA || | +SET_QUOTA ||| + Returns or sets a quota value for the domain being specified by + . is one of "nodes", "watches", "transactions", + "node-size" or "permissions". 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 |[|]