|
@@ -2104,7 +2104,7 @@ Returns: 0 on success, -1 on error
|
|
|
Allows setting an eventfd to directly trigger a guest interrupt.
|
|
|
kvm_irqfd.fd specifies the file descriptor to use as the eventfd and
|
|
|
kvm_irqfd.gsi specifies the irqchip pin toggled by this event. When
|
|
|
-an event is tiggered on the eventfd, an interrupt is injected into
|
|
|
+an event is triggered on the eventfd, an interrupt is injected into
|
|
|
the guest using the specified gsi pin. The irqfd is removed using
|
|
|
the KVM_IRQFD_FLAG_DEASSIGN flag, specifying both kvm_irqfd.fd
|
|
|
and kvm_irqfd.gsi.
|
|
@@ -2115,7 +2115,7 @@ interrupts. When KVM_IRQFD_FLAG_RESAMPLE is set the user must pass an
|
|
|
additional eventfd in the kvm_irqfd.resamplefd field. When operating
|
|
|
in resample mode, posting of an interrupt through kvm_irq.fd asserts
|
|
|
the specified gsi in the irqchip. When the irqchip is resampled, such
|
|
|
-as from an EOI, the gsi is de-asserted and the user is notifed via
|
|
|
+as from an EOI, the gsi is de-asserted and the user is notified via
|
|
|
kvm_irqfd.resamplefd. It is the user's responsibility to re-queue
|
|
|
the interrupt if the device making use of it still requires service.
|
|
|
Note that closing the resamplefd is not sufficient to disable the
|