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_tParameters
- 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.