On 13/08/2016 00:07, Alexander Popov wrote: > I.e. our irq_mask()/irq_unmask() callbacks get irq_desc of the interrupt > which should be masked/unmasked and can ask the hypervisor to stop/start > injecting the vector of that particular interrupt.
So just let the irqdomain know about your hypervisor and avoid the pointless indirection through function pointers, and only call arch_init_paravirq_domain in a file specific to your hypervisor. Paolo

