From nobody Mon Feb 9 10:12:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1647447086; cv=none; d=zohomail.com; s=zohoarc; b=AhmB8GKkq1E3I8NF43vQq8oJ7g8xedC7wKUWCj1Y84+N3yyPrhhEAKEgXiRS3gW/5TMb80klVdDWr5wNhh10rsdeuP4oD3wjHsgtrgda31+iU441CrcUnk/mzNToq/vxtC2YzU5ZQPeuDxHNaGhU0WvmBAyFf+Zf/kqGfXODHXA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647447086; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pkuTgxN7TeNQXPeaFQVVyGlZfccct+K6q4AfMKtVTGQ=; b=WbRV6IihgxFjNDF+/OQLzbNP6+VLULz4+r2NXNLoMpKazJE3W7mdo0ql6XMDmoIqvVtQGGtOMyIaYq2yFn5MAK9bnW4bboCOEJhQNzAXAy1pwJf5DCpj80vUHb2EMkN8eTWki7jJu3N2XlyvGcpmjXHrxkcvi8LLf8dc2n0BnDw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 164744708671585.8864626679748; Wed, 16 Mar 2022 09:11:26 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.291211.494137 (Exim 4.92) (envelope-from ) id 1nUWEV-0000SY-BF; Wed, 16 Mar 2022 16:10:43 +0000 Received: by outflank-mailman (output) from mailman id 291211.494137; Wed, 16 Mar 2022 16:10:43 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nUWEV-0000SR-8E; Wed, 16 Mar 2022 16:10:43 +0000 Received: by outflank-mailman (input) for mailman id 291211; Wed, 16 Mar 2022 16:10:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nUWEU-0000RR-CB for xen-devel@lists.xenproject.org; Wed, 16 Mar 2022 16:10:42 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 94030128-a543-11ec-8eba-a37418f5ba1a; Wed, 16 Mar 2022 17:10:39 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8B7401F391; Wed, 16 Mar 2022 16:10:20 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 51DF5139B5; Wed, 16 Mar 2022 16:10:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id oBO3EuwLMmK2OwAAMHmgww (envelope-from ); Wed, 16 Mar 2022 16:10:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 94030128-a543-11ec-8eba-a37418f5ba1a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1647447020; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pkuTgxN7TeNQXPeaFQVVyGlZfccct+K6q4AfMKtVTGQ=; b=pdBV5B0mbXbb1QqOCmmnh5ccCEQXXCH4k99Y6RH6YdeB6+5aBbfXEpX++TAiM63b/q+pif OcJ4xO88YFW7eFaMhekGiptKI/LwUsL/eJLk2nOWxJWLOolFz46LloKSWOorqMMP9x78Nq 8qMkaT7EzFhAKHDWxPMGjsrNt8zCfoE= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH 2/3] tools/xenstore: add documentation for new set/get-quota commands Date: Wed, 16 Mar 2022 17:10:16 +0100 Message-Id: <20220316161017.3579-3-jgross@suse.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220316161017.3579-1-jgross@suse.com> References: <20220316161017.3579-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1647447088826100002 Content-Type: text/plain; charset="utf-8" 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 --- 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 =20 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 || xenstored prevents the use of GET_FEATURE and SET_FEATURE other than by dom0. =20 +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 ---------- =20 CONTROL |[|] --=20 2.34.1