lkml.org 
[lkml]   [2010]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] kvm: enable irq injection from interrupt context
  On 09/16/2010 03:38 PM, Michael S. Tsirkin wrote:
> >
> > That's just an implementation detail. Devices either assert INT# or
> > they do not. Tying the wires together constitutes an AND gate.
> > This gate has to be modelled somewhere, currently it's in qemu's pci
> > emulation.
>
> Right. kvm in kernel has this as well, we need to keep this in
> kvm kernel if we want to support level with irqfd.

Right, we added the irq_source_id hack for device assignment.

What's wrong with letting userspace mediate this, though?

> Where it does not belong is individual devices: these
> should be able to assert INTx multiple times
> and it should have no effect, as per spec.
>
>

Yes.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2010-09-16 15:53    [W:0.059 / U:0.356 seconds]
©2003-2014 Jasper Spaans. Advertise on this site