Contents

hv_vcpu_set_pending_interrupt(_:_:_:)

Sets pending interrupts for a vCPU.

Declaration

func hv_vcpu_set_pending_interrupt(_ vcpu: hv_vcpu_t, _ type: hv_interrupt_type_t, _ pending: Bool) -> hv_return_t

Parameters

  • vcpu:

    The instance of the vCPU.

  • type:

    The interrupt from Interrupt Constants.

  • pending:

    A Boolean that indicates whether the interrupt is pending.

Return Value

HV_SUCCESS if the operation was successful, otherwise an error code specified in hv_return_t.

Discussion

See Also

Runtime