hv_vcpus_exit(_:_:)
Forces an immediate exit of a set of vCPUs of the VM.
Declaration
func hv_vcpus_exit(_ vcpus: UnsafeMutablePointer<hv_vcpu_t>, _ vcpu_count: UInt32) -> hv_return_tParameters
- vcpus:
An array of vCPU instances.
- vcpu_count:
The number of vCPUs in the array.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.