[SOLVED] Q on Serial ports pve5 vs pve6

juppzupp

Member
May 8, 2020
14
2
8
51
hi,
I have a virtual appliance, which requires a serial port to boot. It's never needed to transmit any data, it just needs to be there.
on 6.1-8 I can find an option in the GUI (Hardware -> Add -> Serial Port). the appliance boots.
on 5.0-23 this is missing.
I tried to add the port manually "qm set 210 -serial0 socket", but the appliance doesnt boot. there is no access to the "inside" I cant see whats going on.
the difference I can see is
that on 6.1-8
Code:
qm> info chardev
serial0: filename=unix:/var/run/qemu-server/210.serial0,server
qmp: filename=unix:/var/run/qemu-server/210.qmp,server
qmp-event: filename=unix:
while 5.0-23
Code:
qm> info chardev
serial0: filename=disconnected:unix:/var/run/qemu-server/210.serial0,server
qmp: filename=unix:/var/run/qemu-server/210.qmp,server
qm>
stays "disconnected"

I'm wondering that serial is kind of superoldworldfeature, so I can't believe it was added "recently". But believing isnt knowing.
What am I missing ? Any workaround beside upgrading ?

thanks
jupp
 
Any workaround beside upgrading ?
While you could compare the output of qm showcmd <vmid> --pretty I highly suggest that you upgrade that old node. PVE 5.x will be EOL very soon ( https://pve.proxmox.com/wiki/FAQ ). Even upgrading within a major version should be done on a regular basis, the latest 5.x is 5.4 ;)
 
Great to hear. Could you please change the prefix to solved by editing the first post and selecting it next to the title? Thanks :)