VmHardwareSerialUpdateSpec
The Serial.UpdateSpec structure describes the updates to be made to the configuration of a virtual serial port.
Properties
Flag indicating whether the guest can connect and disconnect the device. If unset, the value is unchanged.
Physical resource backing for the virtual serial port. This field may only be modified if the virtual machine is not powered on or the virtual serial port is not connected.
If unset, the value is unchanged.
Flag indicating whether the virtual device should be connected whenever the virtual machine is powered on. If unset, the value is unchanged.
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.
JSON Example
{
"allow_guest_control": false,
"backing": {
"file": "string",
"host_device": "string",
"network_location": "string",
"no_rx_loss": false,
"pipe": "string",
"proxy": "string",
"type": "FILE"
},
"start_connected": false,
"yield_on_poll": false
}