<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/hv_return_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@T@hv_return_t"
  },
  "title" : "hv_return_t"
}
-->

# hv_return_t

The return type of framework functions.

```
typealias hv_return_t = mach_error_t
```

## Topics

### Return Values

[`HV_SUCCESS`](/documentation/Hypervisor/HV_SUCCESS)

The operation completed successfully.

[`HV_ERROR`](/documentation/Hypervisor/HV_ERROR)

The operation was unsuccessful.

[`HV_BUSY`](/documentation/Hypervisor/HV_BUSY)

The operation was unsuccessful because the owning resource was busy.

[`HV_BAD_ARGUMENT`](/documentation/Hypervisor/HV_BAD_ARGUMENT)

The operation was unsuccessful because the function call had an invalid argument.

[`HV_NO_RESOURCES`](/documentation/Hypervisor/HV_NO_RESOURCES)

The operation was unsuccessful because the host had no resources available to complete the request.

[`HV_NO_DEVICE`](/documentation/Hypervisor/HV_NO_DEVICE)

The operation was unsuccessful because no VM or vCPU was available.

[`HV_UNSUPPORTED`](/documentation/Hypervisor/HV_UNSUPPORTED)

The operation requested isn’t supported by the hypervisor.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)