Skip to content

Commit a6d9ab5

Browse files
CP-54217: Change wording
Signed-off-by: Stephen Cheng <[email protected]>
1 parent 95fe296 commit a6d9ab5

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

ocaml/idl/datamodel_lifecycle.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ let prototyped_of_field = function
138138
| "VM", "actions__after_softreboot" ->
139139
Some "23.1.0"
140140
| "pool", "limit_console_sessions" ->
141-
Some "25.29.0"
141+
Some "25.30.0-next"
142142
| "pool", "ha_reboot_vm_on_internal_shutdown" ->
143143
Some "25.16.0"
144144
| "pool", "license_server" ->

ocaml/idl/datamodel_pool.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,8 +2252,9 @@ let t =
22522252
when HA is enabled"
22532253
; field ~writer_roles:_R_POOL_OP ~qualifier:RW ~lifecycle:[] ~ty:Bool
22542254
~default_value:(Some (VBool false)) "limit_console_sessions"
2255-
"Indicate whether the console concurrent limit is set for the pool \
2256-
(false means no limit)"
2255+
"When true, only one console connection per VM/host in the pool is \
2256+
accepted. Otherwise every connection for a VM/host's console is \
2257+
accepted"
22572258
]
22582259
)
22592260
()

ocaml/xapi/console.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ type address =
3434

3535
(* console is listening on a Unix domain socket *)
3636

37-
(* This module enforces connection limits for VM consoles.
38-
Depending on configuration, only one active connection per VM (including Dom0) is allowed,
39-
or that connections are unlimited. *)
37+
(* This module limits VNC console sessions to at most one per VM/host.
38+
Depending on configuration, either unlimited connections are allowed,
39+
or only a single active connection per VM/host is allowed. *)
4040
module Connection_limit = struct
4141
module VMSet = Set.Make (String)
4242

0 commit comments

Comments
 (0)