https://github.com/containers/virtcontainers/blob/master/qemu.go#L610 will do truncation, trying to avoid a 107 character limit on socket path length. In carrying this out, the name is truncated, totally eliminating the monitor.sock or ctrl.sock which should've been appended. As a result only a single socket created on the host, and it is used for both QMP interfaces into QEMU. Ie:
See the following QEMU output when using latest CC-runtime, taking particular note of the -qmp sockets:
https://github.com/containers/virtcontainers/blob/master/qemu.go#L610 will do truncation, trying to avoid a 107 character limit on socket path length. In carrying this out, the name is truncated, totally eliminating the monitor.sock or ctrl.sock which should've been appended. As a result only a single socket created on the host, and it is used for both QMP interfaces into QEMU. Ie:
Need truncate the qemu ID before truncating socket name.