Previous page

Next page

Locate page in Contents

Print this page

Serial Port Management Options

This group of options is used to manage serial ports in a virtual machine.

Syntax

prlctl set <vm_ID | vm_name> { --device-add serial | --device-add serial <N> }

{ --device <dev_name> | --output <file> | --socket <name> }

[ --enable | --disable ] [ --connect | --disconnect ]

Options

Name

Description

<vm_ID|vm_name>

The virtual machine ID or name.

--device-add serial

Adds a new serial port to the virtual machine. You can connect up to four serial ports to a virtual machine.

--device-set serial <N>

Modifies the parameters of an existing serial port.

--device <dev_name>

The name of the physical serial port to which to connect the virtual machine.

--output <file>

The name and path of the output file to which to connect the virtual serial port.

--socket <name>

The name of the physical socket to which to connect the virtual serial port.

--enable | --disable

Enables or disables the virtual serial port. All newly added serial ports are enabled by default (provided the --disable option is omitted).

--connect

Automatically connect the virtual serial port during the virtual machine startup process.

--disconnect

Do not automatically connect the virtual serial port during the virtual machine startup process.