VMware {code}

 View Only

 Use vsocket for TCLO messages from host to guest

Dimitrios Kalogeropoulos's profile image
Dimitrios Kalogeropoulos posted Apr 03, 2025 09:18 AM

Hello,

I am trying to use the vsocket interface for the RPCIn channel (Host-->Guest communication) in order to receive TCLO messages using vsockets.
However, this channel is always falling back to backdoor as seen in the guest's vmsvc.log. Thus, the events for power operations like suspend, resume, shutdown etc arrive in guest VM through backdoor and not vsock. 
The RPCI channel for guest-->host communication seems to work successfully using vsockets.

Also, in host's vmware.log the 
"GuestRpc: Using vsocket for TCLO messaging is disabled"  message is displayed.

I use the default settings of VMware Tools in host and guest.
Could anyone help me how to explicitly use TCLO channel with vsockets


Some usefuls logs can be seen below:

Guest: vmsvc.log with debugs enabled
[2025-04-03T10:13:11.489Z] [    info] [vmsvc] [774] SOCKET creating new socket, connecting to 0:975
[2025-04-03T10:13:11.489Z] [   debug] [vmsvc] [774] RpcIn: successfully created vsocket connection 8.
....
[2025-04-03T10:13:11.566Z] [   debug] [vmsvc] [774] RpcIn: Error in socket 8, closing connection: Connection error.
[2025-04-03T10:13:11.566Z] [   debug] [vmsvc] [774] RpcIn: Closing vsocket connection 8
[2025-04-03T10:13:11.566Z] [   debug] [vmsvc] [774] RpcIn: falling back to use backdoor ...

Host: vmware.log
2025-04-03T13:06:35.104Z In(05) vcpu-0 GuestRpc: Successfully created RPCI listening socket.
2025-04-03T13:06:35.104Z In(05) vcpu-0 GuestRpc: Using vsocket for TCLO messaging is disabled.


Environment:
Host: Windows 11 24H2
VMware Workstation 17 Pro, version 17.6.3 build-24583834
Guest: Ubuntu 24.02 with the default open-vm-tools 12.4.5.49651 (build-23787635)


Thanks in advance,
Dimitris