The ttya section is used to configure the first serial port (sometimes used as the console) on the SPARC virtual machine. Using these options it is possible to attach the virtual serial port to a network socket or a physical serial port attached to the host. The list below describes the options that can be configured:
- port – Virtual serial port specification.
- start_console – Start PuTTY at virtual machine boot.
- type – Virtual serial port type.
# Serial controller can be mapped to TCP socket or physical COM port
# on host. The valid type values are "socket", "physical" or "terminal"
type = socket
port = 9000
#type = physical
#port = /dev/ttyS0
port
Virtual serial port specification.
Syntax
|
Description
This option is dependent on the setting of the type
option. The table below describes the valid values for port-spec
.
Type | Port Specification | Description |
---|---|---|
physical | Path to physical device, e.g. /dev/ttyS0 | The virtual serial port will be attached to a physical serial port attached to the host. |
socket | TCP/IP socket number, e.g. 9000 | The virtual serial port will be attached to a network port that can be connected to |
terminal |
start_console
Start PuTTY at virtual machine boot.
Syntax
|
Description
This option enables (or disables) the automatic starting of PuTTY when the virtual machine starts.
This option is enabled by default. If PuTTY is not found, start up of the virtual machine will proceed with an error message logged in the virtual machine log.
type
Virtual serial port type.
Syntax
|
Description
Use this option to reserve a specific number of host CPUs (or cores) for virtual machine I/O processing.
If both io_affinity and io_cpus are not set, the virtual machine will automatically reserve one third of the host CPUs (or cores) for I/O processing.