Adding clipboard management on VZVirtualMachineConfiguration

Following the presentation from 2022 https://developer.apple.com/videos/play/wwdc2022/10002/ that show how to create a MacOs virtual machine, I was wondering if there was a way to share the clipboard between the host and the VM create?

Answered by Engineer in 818334022

There isn't an API for that for macOS guests.

The clipboard sharing using the VZSpiceAgentPortAttachment is specific to Linux guests with a compatible guest agent.

Accepted Answer

There isn't an API for that for macOS guests.

The clipboard sharing using the VZSpiceAgentPortAttachment is specific to Linux guests with a compatible guest agent.

Adding clipboard management on VZVirtualMachineConfiguration
 
 
Q