serial port via telnet

Hello,

My problem is more understanding how to say to proxmox things said with standard qemu interface.

I need a serial port implemented via telnet, which can be said with standard qemu like -serial telnet... and I don't know :
- how to say the same thing being in proxmox
- how exactly is implemented the qm command : qm terminal; perhaps I can use some way using it, if I know more about it.
 
Oh, sorry, I have misunderstood your question.

You can specify additional arguments that will be passed through to QEMU using the args option. You can set it via the
qm command as follows:

qm set <vmid> --args "-serial telnet:localhost:4321"

This will update the VMs configuration in /etc/pve/qemu-server/<vmid>.conf