Serial ports on a VM

decibel83

Renowned Member
Oct 15, 2008
210
1
83
Hi.
Can I access to a physical serial port from a KVM virtual machine, without using a serial network device?
 
Hi,
Try this :

Code:
qm set 107 -serial /dev/ttyS0
Where 107 is your VMID
and ttyS0 port COM1

Then Stop/Start your VM (dont reboot)
 
This is for OpenVZ only, and I don't have to connect to a virtual machine through a serial console, but I need a physical serial port on the virtual machine.
 
Is the qm command only for QEMU KVMs or can it be used for penVZ containers as well?

Can the same physical serial port be simultaneously connected to more than one Virtual Machine?

qm is for KVM (man qm)
vzctl is for OpenVZ (man vzctl)
 

About

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!