From: Juergen Gross <jgross@suse.com>
To: Anthony PERARD <anthony.perard@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Andrew Cooper <andrew.cooper3@citrix.com>,
George Dunlap <george.dunlap@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>
Subject: Re: [PATCH] tools/xenstore: add error indicator to ring page
Date: Thu, 17 Feb 2022 11:59:41 +0100 [thread overview]
Message-ID: <d03ca9b8-9b47-eae7-dbdf-e6f3eb131ebe@suse.com> (raw)
In-Reply-To: <Yg4p9eq4A7b+FimR@perard.uk.xensource.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1750 bytes --]
On 17.02.22 11:56, Anthony PERARD wrote:
> 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.
Okay, will add something to the doc (for both issues).
Juergen
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
prev parent reply other threads:[~2022-02-17 10:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-10 11:16 [PATCH] tools/xenstore: add error indicator to ring page Juergen Gross
2022-02-15 15:42 ` Anthony PERARD
2022-02-15 15:45 ` Juergen Gross
2022-02-17 10:56 ` Anthony PERARD
2022-02-17 10:59 ` Juergen Gross [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d03ca9b8-9b47-eae7-dbdf-e6f3eb131ebe@suse.com \
--to=jgross@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.