# Data Object - VirtualSerialPortOption(vim.vm.device.VirtualSerialPortOption)

Extends
  VirtualDeviceOption
See also
  BoolOption

## Data Object Description

The `VirtualSerialPortOption` data object contains the options for configuring the virtual serial port device defined by the `VirtualSerialPort` data object. These options include information about how the device is backed physically on the host: by a network socket, a host file, a host serial port device, or a pipe to another process.

Properties

Name | Type | Description
--- | --- | ---
yieldOnPoll | BoolOption | Indicates whether the virtual machine supports the CPU yield option during virtual serial port polling. When this feature is supported and enabled, the virtual machine will periodically relinquish the processor if its sole task is polling the virtual serial port. If `yieldOnPoll.supported` is `false`, the virtual machine ignores the virtual serial port object setting for `yieldOnPoll`.
Properties inherited from VirtualDeviceOption
autoAssignController, backingOption, busSlotOption, connectOption, controllerType, defaultBackingOptionIndex, deprecated, hotRemoveSupported, licensingLimit, plugAndPlay, type
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualSerialPortOption"> <complexContent> <extension base="vsan:VirtualDeviceOption"> <sequence> <element name="yieldOnPoll" type="vsan:BoolOption"/> </sequence> </extension> </complexContent> </complexType>