Serial port on a VM, how to check setting?

you can use for this propose the Moritor Tab on the GUI.

VM -> Monitor Tab
info chardev
Hi again,

Just if there is anyone interested:
if you linked a serial port to a VM and want to change it to another one, you first have to disconnect the link with
qm set <VMID> -delete serial0
Is there any way to do this without rebooting the VM? I'd like to migrate a production VM to another node so I can reboot the first node after upgrading Proxmox. Proxmox won't migrate the VM due to the associated serial port and I can't remove it without rebooting the VM. Kind of painted into a corner.
Hi Adam,

As always on virtualisation there is a solution with network devices. Like USB-over-LAN there are Serial-over-LAN devices available (roundabout 25 years).

I know so called serial device server from a DEC installation. A Server is connected to the network an those device servers are the linked to serial connected terminals and printers Maybe you get some cheap now. Be aware of the needed port speed and some DECserver need to boot via tftp if they come without boot rom.

At a research few years ago I found are even modern serial device server available fpr measureing an machine steering e.g. at Wieseman&Theis
Hi vmanz,

Thanks for you reply. Yes, I'm familiar with these devices. I've converted my VMware cluster at home to Proxmox over the last 2 weeks. The requirement for a serial port on a node is for an RF home automation device. Not really worth the trouble or cost of procuring a network serial device. VMware allowed me to migrate the Linux VM used for my home automation system, it just disabled the port in the process. If the move was long term I just movde the serial device to the other host and checked a box to get the serial port running again. Under Proxmox it looks like I have to reboot the VM once to remove the port, then migrate, then reboot the VM again to get the serial port back on the other node. This Linux system also hosts some websites so I was hoping for an easy solution which would enable me to keep the websites up full time. No big deal....


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!