Re: [RFC PATCH] kvm: Extend irqfd to support level interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-06-18 at 13:14 +0300, Avi Kivity wrote:
> On 06/18/2012 01:11 PM, Michael S. Tsirkin wrote:
> 
> >> (vhost,
> >> msi-less ivshmem clone)?
> > 
> > I guess vhost can poll eventfd and reinject an interrupt.
> > Of course to bypass qemu completely we also need to support reads over
> > ioeventfd somehow.
> > 
> 
> eventfd is not suitable for level triggered interrupts as far as I can
> tell.  It's about passing edges, and level interrupts aren't.  We need
> something like a pipe for communicating state (or just use KVM_IRQ_LINE).

Isn't level just two edges with a state in between?  Sure we may be
unnecessarily de-asserting for brief periods, but for an external
assigned device, we don't know whether it's unnecessary.  Thanks,

Alex

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux