Skip to content

Commit 12c544e

Browse files
Ma27tfc
andcommitted
nixos/testing: improve wording of vsockOffset description
Co-authored-by: Jacek Galowicz <[email protected]>
1 parent a9adfc6 commit 12c544e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

nixos/lib/testing/nodes.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ in
8888
default = 2;
8989
type = types.ints.between 2 4294967296;
9090
description = ''
91-
By default this assigns vsock numbers starting at 3 to the nodes.
92-
On e.g. large builders used by multiple people, this would cause conflicts
93-
between multiple users doing interactive debugging.
91+
This field is only relevant when multiple users run the (interactive)
92+
driver outside the sandbox and with the SSH backdoor activated.
93+
The typical symptom for this being a problem are error messages like this:
94+
`vhost-vsock: unable to set guest cid: Address already in use`
9495
9596
This option allows to assign an offset to each vsock number to
9697
resolve this.

nixos/modules/testing/test-instrumentation.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ in
9393
default = 2;
9494
type = types.ints.between 2 4294967296;
9595
description = ''
96-
By default this assigns vsock numbers starting at 3 to the nodes.
97-
On e.g. large builders used by multiple people, this would cause conflicts
98-
between multiple users doing interactive debugging.
96+
This field is only relevant when multiple users run the (interactive)
97+
driver outside the sandbox and with the SSH backdoor activated.
98+
The typical symptom for this being a problem are error messages like this:
99+
`vhost-vsock: unable to set guest cid: Address already in use`
99100
100101
This option allows to assign an offset to each vsock number to
101102
resolve this.

0 commit comments

Comments
 (0)