From: Juergen Gross Date: Tue, 28 Jun 2022 15:06:14 +0000 (+0200) Subject: tools/xenstore: modify feature bit specification in xenstore-ring.txt X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~509 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=53e5d2166ac2a05ab8ce4a2fe650277b3fa168b2;p=xen.git tools/xenstore: modify feature bit specification in xenstore-ring.txt Instead of specifying the feature bits in xenstore-ring.txt as a mask value use bit numbers. This will make the specification easier to read when adding more features. Signed-off-by: Juergen Gross Reviewed-by: Julien Grall --- diff --git a/docs/misc/xenstore-ring.txt b/docs/misc/xenstore-ring.txt index f3d6ca4264..2792d13530 100644 --- a/docs/misc/xenstore-ring.txt +++ b/docs/misc/xenstore-ring.txt @@ -62,12 +62,13 @@ the server feature bitmap. The server features are offered to the guest; it is up to the guest whether to use them or not. The guest should ignore any unknown feature bits. -The following features are defined: +The following features are defined (bit number 0 is equivalent to a mask +value of 1): -Mask Description +Bit Description ----------------------------------------------------------------- -1 Ring reconnection (see the ring reconnection feature below) -2 Connection error indicator (see connection error feature below) +0 Ring reconnection (see the ring reconnection feature below) +1 Connection error indicator (see connection error feature below) 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