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

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


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Wed, 16 Mar 2022 18:10:56 +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=G4OfeHp9GRcdBoo1Jl4lhr5/XWFubcYDm2UoXTWZMxA=; b=L2wT1EBIHv8jtNc5Sw2XHHwJZQqEe5HDHreszV+R1JamPGDqbFHG0vCuslqMiSt9czEGevORWoJOvMWNzjDLqORm8T/3CKNA0tzeSIr5SG/fUki+kfAF16sBEcZvPU9onXB9fU2gEcwJVcMqSMTS0Wlw58oX5b02GhtoVSJvv8zDZX4vYuLCwlZfXy6aMZA6E8JIE4G7/aUUKTJle6O8UYPH8gFWc7wXCqfVYPyrWo892jdmauBQeohLHC8WXcDC2ciBUi88IAH/6gU6CWQhPwSpdens9PqGIVrK83AySelaCG87U/M9eOXkFc9bKdOpaIYGgy5Ncjy6X+x7LWHUdg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iiwegMvmvwFio5NJe80e9A/expUgnKfgO/j7C1qUA5x3swcAl+ur2MzY6qpmQ0J3ZHUyeCLoU688uVaOAx3fHnAJ3gakGrHm7w94EJFqvNr92zvLPRPxkx6+/CNMFNgY/hJGbanCiGZBpZOWOVa2T92z+hdzFIoGdyPbGe1ekBDwbYtUC/TaAhuUwvtu0qkV18zpdhA01PZvCd3/ebVKsU9MAG+z8qLCLs8PDhmFTP1adKRD4JBER0eJhGrlZW/7Kx+sUckrTAQwJfjDm2SMSN8tPkSRoPiMMUYc8VQYiadDWg+xYUZ2NDoeZa+qdM5/SCMkdZ5WO8Wo7jrh0MIbcw==
  • 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:11:35 +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: AQHYOVBscI1UHS2ILkaJ88oOeht+3KzCT7sA
  • Thread-topic: [PATCH 1/3] tools/xenstore: add documentation for new set/get-feature commands


> On 16 Mar 2022, at 16:10, Juergen Gross <jgross@xxxxxxxx> wrote:
> 
> Add documentation for two new Xenstore wire commands SET_FEATURE and
> GET_FEATURE used to set or query the Xenstore features visible in the
> ring page 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 f91accb5b0..bd000f694e 100644
> --- a/docs/misc/xenstore-ring.txt
> +++ b/docs/misc/xenstore-ring.txt
> @@ -68,6 +68,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
> 
> 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 ea3d8be177..31e3d53c52 100644
> --- a/docs/misc/xenstore.txt
> +++ b/docs/misc/xenstore.txt
> @@ -332,6 +332,18 @@ SET_TARGET               <domid>|<tdomid>|
> 
>       xenstored prevents the use of SET_TARGET other than by dom0.
> 
> +GET_FEATURE          <domid>|                <value>|
> +SET_FEATURE          <domid>|<value>|
> +     Returns or sets the contents of the "feature" field located at
> +     offset 2064 of the Xenstore ring page of the domain specified by
> +     <domid>. <value> is a decimal number being a logical or of the
> +     feature bits as defined in docs/misc/xenstore-ring.txt. Trying
> +     to set a bit for a feature not being supported by the running
> +     Xenstore will be denied.
> +
> +     xenstored prevents the use of GET_FEATURE and SET_FEATURE 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®.