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

# hv_vcpu_exit_t

Information about an exit from the vCPU to the host.

```
struct hv_vcpu_exit_t
```

## Topics

### Instance Properties

[`exception`](/documentation/Hypervisor/hv_vcpu_exit_t/exception)

Information about an exit exception from the vcpu to the host.

[`reason`](/documentation/Hypervisor/hv_vcpu_exit_t/reason)

Information about an exit from the vcpu to the host.

### Initializers

[`init()`](/documentation/Hypervisor/hv_vcpu_exit_t/init())

Creates a new exit reason structure.

[`init(reason:exception:)`](/documentation/Hypervisor/hv_vcpu_exit_t/init(reason:exception:))

Creates a new virtual cpu exit structure with a reason and exception that you provide.



---

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)