hv_vcpu_destroy(_:)
Destroys the vCPU instance associated with the current thread.
Declaration
func hv_vcpu_destroy(_ vcpu: hv_vcpu_t) -> hv_return_tParameters
- vcpu:
The instance of the vCPU.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.