Developer Documentation

SerialCreateSpec

The Serial.CreateSpec structure provides a specification for the configuration of a newly-created virtual serial port.


Properties

Required Property Name Type Description
optional allow_guest_control boolean

Flag indicating whether the guest can connect and disconnect the device. Defaults to false if unset.

optional backing SerialBackingSpec

Physical resource backing for the virtual serial port. If unset, defaults to automatic detection of a suitable host device.

optional start_connected boolean

Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. Defaults to false if unset.

optional yield_on_poll boolean

CPU yield behavior. If set to true, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. The amount of time it takes to regain the processor will depend on the degree of other virtual machine activity on the host. If unset, defaults to false.

Feedback

Was this page helpful?