Destroys the vCPU instance associated with the current thread.
SDK
- macOS 10.10+
Framework
- Hypervisor
Declaration
hv _return _t hv_vcpu_destroy(hv _vcpuid _t vcpu);
Parameters
vcpu
The ID of the vCPU.
Return Value
HV
if the operation was successful, otherwise an error code specified in hv
.
Discussion
This function must be called by the owning thread.