<!--
{
  "documentType" : "article",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/serial-ports",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Serial ports"
}
-->

# Serial ports

Configure the serial devices that you use to communicate with the guest system.

## Topics

### Configurations

[`VZVirtioConsoleDeviceSerialPortConfiguration`](/documentation/Virtualization/VZVirtioConsoleDeviceSerialPortConfiguration)

A configuration object that requests the creation of a console device to communicate with the guest system.

[`VZSerialPortConfiguration`](/documentation/Virtualization/VZSerialPortConfiguration)

The common configuration traits for serial port requests.

### Attachment points

[`VZFileHandleSerialPortAttachment`](/documentation/Virtualization/VZFileHandleSerialPortAttachment)

An attachment point that allows bidirectional communication using file handles.

[`VZFileSerialPortAttachment`](/documentation/Virtualization/VZFileSerialPortAttachment)

An attachment point that writes data from the guest system to a file.

[`VZSerialPortAttachment`](/documentation/Virtualization/VZSerialPortAttachment)

The common behaviors for the serial attachment points of your virtual machine.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)