---
title: "customVirtioDeviceDidAcceptDriverOk(_:)"
framework: virtualization
role: symbol
role_heading: Instance Method
path: "virtualization/vzcustomvirtiodevicedelegate/customvirtiodevicedidacceptdriverok(_:)"
---

# customVirtioDeviceDidAcceptDriverOk(_:)

The method the framework calls when the device and driver successfully complete Virtio negotiation.

## Declaration

```swift
optional func customVirtioDeviceDidAcceptDriverOk(_ device: VZCustomVirtioDevice)
```

## Parameters

- `device`: The device invoking the delegate method.

## Discussion

Discussion The guest driver sets the status to the value DRIVER_OK.
