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

Re: [PATCH 2/3] tools/xenstore: add documentation for new set/get-quota commands


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Wed, 16 Mar 2022 18:12:20 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mHZialGADjbLJ70K07850pUREdwwBrKyAsJHH4pFviY=; b=Qb0ZWB7YDUsEBPXTOswd0/klo0jGJoSPsmZ+Kad+5z566sxkD0z9EyCxyjWlLvnGx6LFaK6Ps4nJE7tjB1kfK6BOzyyxr0kg5POMPM2uY2JZ040DDibDgqlx8sYEbcJFcErZAiWAFhBD8B6JzP2DTKDC8coxigfTXzAnA7JOrUcwxPG3GEYIYrCpiFNFWkPhOrzvwjq7G1vroj1Il7KaTS3Srt8qxxMqNJHdHQsnOEC+9kwu7kvbnRj0z4IOs8Z+GpnIN8dLW5H1zF7Ky1WHa05juV0nhvGgwbKGTKR+rZAoGlahefL3CmslqgC1ZzIY3Oe3yKVCPEayR8m3e0PUzQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rfg/5zBVEfblMzgacXYYmVLqs4E519mhX7OA4awK5ndru3IXA5mg7ihq1l/eO10M8HgzZOx31Y3s5LW1TOYWMkwNh6mVti2ZgbJZZZuXOq8YD7Ejd3XHbEcZae+DjSCyn3rNhowfu3tm6catSvmHDYWUt/H1Ez9QsEsz6IMYgz6O0pqaUHGmphN72zgcZNklezvLdIZqByCD7VLJKyPSgTlyhWxepsuPIkj5K2gmbWvbJRcE09evxA1eimYI+D+WrVJ18lC0Tn0mgshhxHsAsHrZwiShg4rT1uSjJGOhyUmk1k2T3eBF9Eb36bobqT0T6xdm+G0DSB69zCfB7pk6Hg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 16 Mar 2022 18:12:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYOVBw8wvXKdegjkeLoNnCEyRo9KzCUB6A
  • Thread-topic: [PATCH 2/3] tools/xenstore: add documentation for new set/get-quota commands


> On 16 Mar 2022, at 16:10, Juergen Gross <jgross@xxxxxxxx> wrote:
> 
> 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>

Cheers,
Luca

> ---
> 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®.