mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-03 14:38:31 +00:00
serial: allow to pass arbitrary device names
This commit is contained in:
parent
7626772856
commit
1b0b51ed94
@ -598,9 +598,9 @@ PVE::JSONSchema::register_standard_option("pve-qm-hostpci", $hostpcidesc);
|
||||
my $serialdesc = {
|
||||
optional => 1,
|
||||
type => 'string',
|
||||
pattern => '(/dev/ttyS\d+|socket)',
|
||||
pattern => '(/dev/.+|socket)',
|
||||
description => <<EODESCR,
|
||||
Create a serial device inside the VM (n is 0 to 3), and pass through a host serial device, or create a unix socket on the host side (use 'qm terminal' to open a terminal connection).
|
||||
Create a serial device inside the VM (n is 0 to 3), and pass through a host serial device (i.e. /dev/ttyS0), or create a unix socket on the host side (use 'qm terminal' to open a terminal connection).
|
||||
|
||||
Note: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user