Hello,
In our host system, there is serial port used for communication with other devices. We are not using it serial port as console. We want to able reach this serial port from VM, but could not figure out how to do it. All the forum posts are related to console.
Here is the serial device /dev/ttyS0 that we want to pass to VM.
I used qm set command to add serial port to VM(ID=103)
stopped the VM and started again. However, at the startup it gives the following error.
Here is details of device.
Any help is very appreciated.
In our host system, there is serial port used for communication with other devices. We are not using it serial port as console. We want to able reach this serial port from VM, but could not figure out how to do it. All the forum posts are related to console.
Here is the serial device /dev/ttyS0 that we want to pass to VM.
Code:
root@proxmox1:~# dmesg | grep tty
[ 0.000000] printk: console [tty0] enabled
[ 0.713419] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
I used qm set command to add serial port to VM(ID=103)
Code:
qm set 103 -serial1 /dev/ttyS0
stopped the VM and started again. However, at the startup it gives the following error.
Code:
unable to find a serial interface
Here is details of device.
Code:
root@proxmox1:~# ls -l /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Nov 26 00:45 /dev/ttyS0
Any help is very appreciated.