hv_vm_get_max_vcpu_count(_:)
Returns the maximum number of vCPUs that the hypervisor supports.
Declaration
func hv_vm_get_max_vcpu_count(_ max_vcpu_count: UnsafeMutablePointer<UInt32>) -> hv_return_tParameters
- max_vcpu_count:
The maximum number of vCPUs on output. Undefined if the call doesn’t succeed.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.