On Tue, Jun 26, 2012 at 11:10:08PM -0600, Alex Williamson wrote:
> +static void eoifd_event(struct kvm_irq_ack_notifier *notifier)
> +{
> +     struct _eoifd *eoifd;
> +
> +     eoifd = container_of(notifier, struct _eoifd, notifier);
> +
> +     if (eoifd->source)
> +             kvm_set_irq(eoifd->kvm, eoifd->source->id,
> +                         eoifd->notifier.gsi, 0);

Let's add a comment here explaining why it's a safe thing
to do, which is, userspace will check status and reinject if
necessary.

-- 
MST
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to