On Mon, 16 Nov 2015, Boris Ostrovsky wrote:
Xen expects legacy interrupts to be there (pretty much for the same reason asRight, because everything which has a PIT gets them and everything
Hyper-V does) and with this change arch_probe_nr_irqs() returns zero and no
descriptors are allocated.
which does not have a PIT does not.
We can allocate those descriptors as needed in xen_irq_init() (if we know thatWhy preallocating them in xen_irq_init()? You simply can remove the
IRQs are legacy), although that would look somewhat ugly and out of place.
NR_IRQS_LEGACY checks in xen_allocate_irq_gsi/xen_free_irq(), right?