<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZCustomVirtioDeviceDelegateProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZCustomVirtioDeviceDelegateProvider"
  },
  "title" : "VZCustomVirtioDeviceDelegateProvider"
}
-->

# VZCustomVirtioDeviceDelegateProvider

A custom Virtio Device provider for devices that implement a custom Virtio device configuration delegate.

```
class VZCustomVirtioDeviceDelegateProvider
```

## Overview

The delegate runs in the same process as the guest’s `VZVirtualMachine` instance.

## Topics

### Initializers

[`init(deviceQueue: dispatch_queue_t, delegate: any VZCustomVirtioDeviceConfigurationDelegate)`](/documentation/Virtualization/VZCustomVirtioDeviceDelegateProvider/init(deviceQueue:delegate:))

Creates a custom Virtio device delegate provider.

### Instance Properties

[`var delegate: (any VZCustomVirtioDeviceConfigurationDelegate)?`](/documentation/Virtualization/VZCustomVirtioDeviceDelegateProvider/delegate)

The delegate object that implements the device.

[`var deviceQueue: dispatch_queue_t`](/documentation/Virtualization/VZCustomVirtioDeviceDelegateProvider/deviceQueue)

The queue the framework uses to synchronize operations for this device.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

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

---

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)