x86/IRQ: allocate guest array of max size only for shareable IRQs
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Mon, 7 Dec 2020 13:52:35 +0000 (14:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Dec 2020 13:52:35 +0000 (14:52 +0100)
commitb7c333016e3d6adf38e80b4e6b121950da092405
tree83c6b17b825049d7c7e6ee30e9c2ab2a7e447989
parente373bc1bdc593564e15d11a7a50f74968907ee5f
x86/IRQ: allocate guest array of max size only for shareable IRQs

... and increase default "irq-max-guests" to 32.

It's not necessary to have an array of a size more than 1 for non-shareable
IRQs and it might impact scalability in case of high "irq-max-guests"
values being used - every IRQ in the system including MSIs would be
supplied with an array of that size.

Since it's now less impactful to use higher "irq-max-guests" value - bump
the default to 32. That should give more headroom for future systems.

Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/irq.c