Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BDDAC433EF for ; Thu, 17 Feb 2022 10:57:28 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.274634.470169 (Exim 4.92) (envelope-from ) id 1nKeT9-0003nJ-6n; Thu, 17 Feb 2022 10:57:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 274634.470169; Thu, 17 Feb 2022 10:57:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nKeT9-0003nC-1u; Thu, 17 Feb 2022 10:57:03 +0000 Received: by outflank-mailman (input) for mailman id 274634; Thu, 17 Feb 2022 10:57:02 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nKeT8-0003n6-AJ for xen-devel@lists.xenproject.org; Thu, 17 Feb 2022 10:57:02 +0000 Received: from esa6.hc3370-68.iphmx.com (esa6.hc3370-68.iphmx.com [216.71.155.175]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 539eaaf5-8fe0-11ec-b215-9bbe72dcb22c; Thu, 17 Feb 2022 11:57:00 +0100 (CET) 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: 539eaaf5-8fe0-11ec-b215-9bbe72dcb22c DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1645095420; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZtW6VisS4ywH8dJriw3Ytb5KVKugn/0fU/ZsU7IJrwg=; b=RZS3u7l+em4yH00niIg3iwB2YfmNK6r3g7Snvuh3fO6IoF9pAEAEsYq5 xhgFoDnILhhAZLBqDelK6/OS6EdfWd7UmShNojsLUJyRrXB2uZTA93hFf qMTvp/ZE893AjWlSGBqTNqQSl3zFhZ24vYU4dd2cq6swrvl9/szpeUy94 I=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: BUc3DiS6lY9e4LfAqDVql4X4a+3j0ic+7/NPA7neb7JbKsnQnjYkwjetVdIdnJovPqwbiUMSE9 fwWH4Z9hCRajICV4oAb6gFZtzEGlxbbCk6Z1hFLjYnipky80C1+e275M3L6I9BdpuVKLwmP04d 8Sy7fNOvkzfnylFNoyWdw97NMKnlStydWXw/DV3QbaDjMakXyDpVxCR3Vzke6F4IEFMB1JPTHq IMS6/MBxktPHjJT+iUQQuNDT1Qjz7p07YH2C8pwCAZvOu7S+dB8eSPL2dMb0DPUvBC6KC2vnUp ObizTexrd1sgeLUq/z2gMi9g X-SBRS: 5.1 X-MesageID: 64316964 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:h3IXdqjmAeoy7ohTO5nYwJ5WX1615RcKZh0ujC45NGQN5FlHY01je htvCmmEMq7eMGb9Kdsjbtzn/UJS7Z7Wyt42SQJv+CoyFCkb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oAMKRCQ7InQLlbGILes1htZGEk0GE/NtTo5w7Rj2tQx3oDga++wk YiaT/P3aQfNNwFcagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDfjZw0/DaptVBoaHq 9Prl9lVyI97EyAFUbtJmp6jGqEDryW70QKm0hK6UID66vROS7BbPg/W+5PwZG8O4whlkeydx /1TsprqThg2OJe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BT2soKj7P Ldb1fDxNvEDjW1miYskHuY517866vvuu6ReklZuEkLUYgn5EbhnOHSHg5VC7/Uf2r9DtAKqc UuT4d0Ga66RMcboHVNNdgooauOPiaMdljXItKlnJUz74Gl8/aadUFUUNB6J0XQPILxwOYIj4 OEgpM9JtFDv1kt0ao6L3nJO6mCBDn0cSKF25JgVDbjihhcv1lwfM4fXDTX74c3XZthBWqXwz uR4WEYWa2xg+3f/ IronPort-HdrOrdr: A9a23:VUNWfqHHL6MDWhMWpLqE6MeALOsnbusQ8zAXP0AYc3Jom+ij5q STdZUgpHrJYVkqNU3I9ertBEDEewK6yXcX2/hyAV7BZmnbUQKTRekIh7cKgQeQeBEWntQts5 uIGJIeNDSfNzdHsfo= X-IronPort-AV: E=Sophos;i="5.88,375,1635220800"; d="scan'208";a="64316964" Date: Thu, 17 Feb 2022 10:56:53 +0000 From: Anthony PERARD To: Juergen Gross CC: , Andrew Cooper , George Dunlap , "Jan Beulich" , Julien Grall , "Stefano Stabellini" , Wei Liu Subject: Re: [PATCH] tools/xenstore: add error indicator to ring page Message-ID: References: <20220210111620.5256-1-jgross@suse.com> <8891ed69-2ad2-2842-e34e-8252860b71d9@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <8891ed69-2ad2-2842-e34e-8252860b71d9@suse.com> On Tue, Feb 15, 2022 at 04:45:28PM +0100, Juergen Gross wrote: > On 15.02.22 16:42, Anthony PERARD wrote: > > On Thu, Feb 10, 2022 at 12:16:20PM +0100, Juergen Gross wrote: > > > +The "Connection error indicator" is used to let the server indicate it has > > > +detected some error that led to deactivation of the connection by the server. > > > +If the feature has been advertised then the "Connection error indicator" may > > > +take the following values: > > > + > > > +Value Description > > > +----------------------------------------------------------------- > > > +0 No error, connection is valid > > > +1 Communication problems (event channel not functional) > > > +2 Inconsistent producer or consumer offset > > > +3 Protocol violation (client data package too long) > > > > Is this meant to be the only possible error value? If in the future we > > want to add more possible error, does it going to need a new feature > > bit and maybe a new error field? > > No, as the guest is not opting into this feature, but just gets it > presented, there is no need to have another bit for new error values. This probably needs to be spelled out in the documents that. > Note that this is a purely informational interface. The error value > (other than 0) is only for diagnostic purposes, there is no way a > guest could react in a sane way to a specific error case. This could also be spelled out in the document, in the new section "The connection error feature", that a value other than 0 is a connection error even if the error number isn't known to the client. Thanks, -- Anthony PERARD