I just wasted hours trying to get a serial port to work in a VM, when the real issue was ProxMox misconfig (by default).
The ProxMox gui configures serial ports as sockets. I don't know where it DOES work, but it does NOT work if a VM needs to access a device on a serial port (UPS, modem, terminal, etc etc...)
On the command line, I now know the following is the correct answer:
I had no idea this was an issue, nor possible!
Why not, at minimum, indicate something about this in the GUI dialog box? Or a link to documentation on this (which doesn't appear to exist yet.) Or even allow this configuration in the GUI?
The ProxMox gui configures serial ports as sockets. I don't know where it DOES work, but it does NOT work if a VM needs to access a device on a serial port (UPS, modem, terminal, etc etc...)
On the command line, I now know the following is the correct answer:
qm set <vmid> -serial /dev/ttyXX
I had no idea this was an issue, nor possible!
Why not, at minimum, indicate something about this in the GUI dialog box? Or a link to documentation on this (which doesn't appear to exist yet.) Or even allow this configuration in the GUI?