On Thursday 01 April 2010 08:54:14 am Avi Kivity wrote:
On 04/01/2010 06:39 PM, Tom Lyon wrote:Exact same mechanism.
IIRC the usual event counter is /dev/uioX, what's your event counter now?Same as other UIO drivers - by read()ing an event counter.- support for MSI and MSI-X interrupts (the intel 82599 VFs supportHow does a userspace program receive those interrupts?
kvm really wants the event counter to be an eventfd, that allows hookingMy patch does not currently go anywhere near the read/fd logic of /dev/uioX.
it directly to kvm (which can inject an interrupt on an eventfd_signal),
can you adapt your patch to do this?
I think a separate patch would be appropriate.