Skip to content

Conversation

@stephenchengCloud
Copy link
Collaborator

@stephenchengCloud stephenchengCloud commented Sep 9, 2025

The field sets the maximum time (in seconds) that a VM's console can be idle before it is automatically disconnected. The default value 0 means never timeout. This setting applies only to VM consoles;
for host consoles, use the separate parameter 'host.console_idle_timeout'.

Tested:

[root@eu1-dt094 bin]# xe pool-param-get uuid=72ed1057-0ed5-2195-3bec-2e00e6e74fe5 param-name=vm-console-idle-timeout
0
[root@eu1-dt094 bin]# xe pool-param-set uuid=72ed1057-0ed5-2195-3bec-2e00e6e74fe5 vm-console-idle-timeout=36000
[root@eu1-dt094 bin]# xe pool-param-get uuid=72ed1057-0ed5-2195-3bec-2e00e6e74fe5 param-name=vm-console-idle-timeout
36000
[root@eu1-dt094 bin]# xe pool-param-set uuid=72ed1057-0ed5-2195-3bec-2e00e6e74fe5 vm-console-idle-timeout=de
Error: Failed to parse parameter 'vm-console-idle-timeout': expecting an integer

The field sets the maximum time (in seconds) that a VM's console can be idle
before it is automatically disconnected. The default value 0 means never timeout.
This setting applies only to VM consoles;
for host consoles, use the separate parameter 'host.console_idle_timeout'.

Signed-off-by: Stephen Cheng <stephen.cheng@cloud.com>
@stephenchengCloud stephenchengCloud changed the base branch from feature/limit-vnc-console to feature/limit-vnc-console-sessions September 12, 2025 02:19
@stephenchengCloud stephenchengCloud force-pushed the private/stephenche/CP-54216 branch from ee0a1f6 to 987a651 Compare September 12, 2025 02:20
@stephenchengCloud stephenchengCloud marked this pull request as ready for review September 12, 2025 02:21
@stephenchengCloud stephenchengCloud merged commit 2bbbae7 into xapi-project:feature/limit-vnc-console-sessions Sep 12, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants