On Thu, 2015-03-19 at 19:29 +0000, Julien Grall wrote: > Xen has to release IRQ routed to a domain in order to reuse later. > Currently only SPIs can be routed to the guest so we only need to > browse SPIs for a specific domain. > > Furthermore, a guest can crash and let the IRQ in an incorrect state
"leave the irq" > (i.e has not being EOIed). Xen will have to reset the IRQ in order to s/being/been/ > be able to reuse the IRQ later. > > Introduce 2 new functions for release an IRQ routed to a domain: > - release_guest_irq: upper level to retrieve the IRQ, call the GIC > code and release the action > - gic_remove_guest_irq: Check if we can remove the IRQ, and reset > it if necessary > > Signed-off-by: Julien Grall <julien.gr...@linaro.org> Acked-by: Ian Campbell <ian.campb...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel