Contents

serialPorts

The array of serial ports that you expose to the guest operating system.

Declaration

var serialPorts: [VZSerialPortConfiguration] { get set }

Discussion

The default value of this property is an empty array. If your VM supports one or more serial communication ports, assign an array of supported serial configurations to this property. Don’t include more than 10 VZVirtioConsoleDeviceConfiguration objects in the array.

See Also

Adding devices to the VM