On Tue, Jun 12, 2012 at 08:07:03PM -0300, Marcelo Tosatti wrote: > On Mon, Jun 11, 2012 at 02:19:17PM +0300, Michael S. Tsirkin wrote: > > We can deliver certain interrupts, notably MSIX, > > from atomic context. > > Here's an untested patch to do this (compiled only). > > > > Changes from v2: > > Don't inject broadcast interrupts directly > > Changes from v1: > > Tried to address comments from v1, except unifying > > with kvm_set_irq: passing flags to it looks too ugly. > > Added a comment. > > > > Jan, you said you can test this? > > Looks fine to me (except the unlikely). Avi/Gleb? Which of the unlikely do you mean? Most of them cover the case where msix is a broadcast or where level is 0 for msi. This never triggered in my testing. So the unlikely seems justified. -- MST -- 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