customVirtioDeviceWillReset(_:)
The method the framework calls when a device resets.
Declaration
optional func customVirtioDeviceWillReset(_ device: VZCustomVirtioDevice)Parameters
- device:
The device invoking the delegate method.
Discussion
You can initiate a reset by calling the requestReset() method, and the guest driver can also initiate the reset by itself. The framework calls this method when the reset completes for either scenario.