hv_vcpu_get_pending_interrupt(_:_:_:)
Gets pending interrupts for a vCPU.
Declaration
func hv_vcpu_get_pending_interrupt(_ vcpu: hv_vcpu_t, _ type: hv_interrupt_type_t, _ pending: UnsafeMutablePointer<Bool>) -> hv_return_tParameters
- vcpu:
The instance of the vCPU.
- type:
The interrupt from
Interrupt Constants. - pending:
A variable that indicates whether, on output, the interrupt of type is pending or not.
Return Value
HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.