Virtualization macOS 11.3 to 12.0 API Differences

VZAudioDeviceConfiguration.h
Added VZAudioDeviceConfiguration
VZAudioInputStreamSource.h
Added VZAudioInputStreamSource
VZAudioOutputStreamSink.h
Added VZAudioOutputStreamSink
VZDirectoryShare.h
Added VZDirectoryShare
VZDirectorySharingDevice.h
Added VZDirectorySharingDevice
VZDirectorySharingDeviceConfiguration.h
Added VZDirectorySharingDeviceConfiguration
VZDiskImageStorageDeviceAttachment.h
Added VZDiskImageCachingMode
Added VZDiskImageCachingModeAutomatic
Added VZDiskImageCachingModeUncached
Added VZDiskImageCachingModeCached
Added VZDiskImageSynchronizationMode
Added VZDiskImageSynchronizationModeFull
Added VZDiskImageSynchronizationModeFsync
Added VZDiskImageSynchronizationModeNone
Added -[VZDiskImageStorageDeviceAttachment initWithURL:readOnly:cachingMode:synchronizationMode:error:]
Added VZDiskImageStorageDeviceAttachment.cachingMode
Added VZDiskImageStorageDeviceAttachment.synchronizationMode
VZGenericPlatformConfiguration.h
Added VZGenericPlatformConfiguration
Added -[VZGenericPlatformConfiguration init]
VZGraphicsDeviceConfiguration.h
Added VZGraphicsDeviceConfiguration
VZHostAudioInputStreamSource.h
Added VZHostAudioInputStreamSource
Added -[VZHostAudioInputStreamSource init]
VZHostAudioOutputStreamSink.h
Added VZHostAudioOutputStreamSink
Added -[VZHostAudioOutputStreamSink init]
VZKeyboardConfiguration.h
Added VZKeyboardConfiguration
VZMacGraphicsDeviceConfiguration.h
Added VZMacGraphicsDeviceConfiguration
Added -[VZMacGraphicsDeviceConfiguration init]
Added VZMacGraphicsDeviceConfiguration.displays
VZMacGraphicsDisplayConfiguration.h
Added VZMacGraphicsDisplayConfiguration
Added -[VZMacGraphicsDisplayConfiguration initWithWidthInPixels:heightInPixels:pixelsPerInch:]
Added -[VZMacGraphicsDisplayConfiguration initForScreen:sizeInPoints:]
Added VZMacGraphicsDisplayConfiguration.widthInPixels
Added VZMacGraphicsDisplayConfiguration.heightInPixels
Added VZMacGraphicsDisplayConfiguration.pixelsPerInch
VZMultipleDirectoryShare.h
Added VZMultipleDirectoryShare
Added -[VZMultipleDirectoryShare init]
Added -[VZMultipleDirectoryShare initWithDirectories:]
Added VZMultipleDirectoryShare.directories
Added +[VZMultipleDirectoryShare validateName:error:]
Added +[VZMultipleDirectoryShare canonicalizedNameFromName:]
VZPlatformConfiguration.h
Added VZPlatformConfiguration
VZPointingDeviceConfiguration.h
Added VZPointingDeviceConfiguration
VZSharedDirectory.h
Added VZSharedDirectory
Added -[VZSharedDirectory initWithURL:readOnly:]
Added VZSharedDirectory.URL
Added VZSharedDirectory.readOnly
VZSingleDirectoryShare.h
Added VZSingleDirectoryShare
Added -[VZSingleDirectoryShare initWithDirectory:]
Added VZSingleDirectoryShare.directory
VZUSBKeyboardConfiguration.h
Added VZUSBKeyboardConfiguration
Added -[VZUSBKeyboardConfiguration init]
VZUSBScreenCoordinatePointingDeviceConfiguration.h
Added VZUSBScreenCoordinatePointingDeviceConfiguration
Added -[VZUSBScreenCoordinatePointingDeviceConfiguration init]
VZVirtioFileSystemDevice.h
Added VZVirtioFileSystemDevice
Added VZVirtioFileSystemDevice.tag
Added VZVirtioFileSystemDevice.share
VZVirtioFileSystemDeviceConfiguration.h
Added VZVirtioFileSystemDeviceConfiguration
Added -[VZVirtioFileSystemDeviceConfiguration initWithTag:]
Added +[VZVirtioFileSystemDeviceConfiguration validateTag:error:]
Added VZVirtioFileSystemDeviceConfiguration.tag
Added VZVirtioFileSystemDeviceConfiguration.share
VZVirtioSoundDeviceConfiguration.h
Added VZVirtioSoundDeviceConfiguration
Added -[VZVirtioSoundDeviceConfiguration init]
Added VZVirtioSoundDeviceConfiguration.streams
VZVirtioSoundDeviceInputStreamConfiguration.h
Added VZVirtioSoundDeviceInputStreamConfiguration
Added -[VZVirtioSoundDeviceInputStreamConfiguration init]
Added VZVirtioSoundDeviceInputStreamConfiguration.source
VZVirtioSoundDeviceOutputStreamConfiguration.h
Added VZVirtioSoundDeviceOutputStreamConfiguration
Added -[VZVirtioSoundDeviceOutputStreamConfiguration init]
Added VZVirtioSoundDeviceOutputStreamConfiguration.sink
VZVirtioSoundDeviceStreamConfiguration.h
Added VZVirtioSoundDeviceStreamConfiguration
VZVirtioTraditionalMemoryBalloonDevice.h
Modified VZVirtioTraditionalMemoryBalloonDevice.targetVirtualMachineMemorySize
Declaration
From@property (readwrite) unsigned long long targetVirtualMachineMemorySize
To@property (readwrite) uint64_t targetVirtualMachineMemorySize

VZVirtualMachine.h
Added VZVirtualMachineStateStopping
Added VZVirtualMachine.canStop
Added VZVirtualMachine.directorySharingDevices
Added -[VZVirtualMachine stopWithCompletionHandler:]
VZVirtualMachineConfiguration.h
Added VZVirtualMachineConfiguration.platform
Added VZVirtualMachineConfiguration.audioDevices
Added VZVirtualMachineConfiguration.directorySharingDevices
Added VZVirtualMachineConfiguration.keyboards
Added VZVirtualMachineConfiguration.pointingDevices
Added VZVirtualMachineConfiguration.graphicsDevices
Modified VZVirtualMachineConfiguration.memorySize
Declaration
From@property (readwrite) unsigned long long memorySize
To@property (readwrite) uint64_t memorySize

Modified VZVirtualMachineConfiguration.minimumAllowedMemorySize
Declaration
From@property (class, readonly) unsigned long long minimumAllowedMemorySize
To@property (class, readonly) uint64_t minimumAllowedMemorySize

Modified VZVirtualMachineConfiguration.maximumAllowedMemorySize
Declaration
From@property (class, readonly) unsigned long long maximumAllowedMemorySize
To@property (class, readonly) uint64_t maximumAllowedMemorySize

VZVirtualMachineView.h
Added VZVirtualMachineView
Added VZVirtualMachineView.virtualMachine
Added VZVirtualMachineView.capturesSystemKeys