Messages in this thread | | | Subject | Re: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain | From | Paolo Bonzini <> | Date | Sat, 13 Aug 2016 08:20:30 +0200 |
| |
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
| |