Vm_Hardware_Serial_UpdateSpec

Vm_Hardware_Serial_UpdateSpec
Vm_Hardware_Serial_UpdateSpec

The Serial.UpdateSpec structure describes the updates to be made to the configuration of a virtual serial port.

JSON Example
{
    "yield_on_poll": false,
    "backing": {
        "type": "string",
        "file": "string",
        "host_device": "string",
        "pipe": "string",
        "no_rx_loss": false,
        "network_location": "string",
        "proxy": "string"
    },
    "start_connected": false,
    "allow_guest_control": false
}
boolean
yield_on_poll
Optional

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. This field may be modified at any time, and changes applied to a connected virtual serial port take effect immediately.

If unset, the value is unchanged.

backing
Optional

The Serial.BackingSpec structure provides a specification of the physical resource backing a virtual serial port.

boolean
start_connected
Optional

Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. If unset, the value is unchanged.

boolean
allow_guest_control
Optional

Flag indicating whether the guest can connect and disconnect the device. If unset, the value is unchanged.