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

# hv_interrupt_type_t

The type that defines the vCPU’s interrupts.

```
struct hv_interrupt_type_t
```

## Overview

To raise interrupts on a vCPU, call [`hv_vcpu_set_pending_interrupt(_:_:_:)`](/documentation/Hypervisor/hv_vcpu_set_pending_interrupt(_:_:_:)) prior to calling [`hv_vcpu_run(_:)`](/documentation/Hypervisor/hv_vcpu_run(_:)).

## Topics

### Instance properties

[`rawValue`](/documentation/Hypervisor/hv_interrupt_type_t/rawValue)

An unisgned 32-bit integer that describes the interrupts.

### Initializers

[`init(_:)`](/documentation/Hypervisor/hv_interrupt_type_t/init(_:))

Creates a new interrupt instance with the value you provide.

[`init(rawValue:)`](/documentation/Hypervisor/hv_interrupt_type_t/init(rawValue:))

Creates a new interrupt instance with the integer value you provide.

### Interrupt levels

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

ARM Fast Interrupt Request.

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

ARM Interrupt Request.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)