x86/IRQ: target online CPUs when binding guest IRQ
authorJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 09:44:50 +0000 (11:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 09:44:50 +0000 (11:44 +0200)
commit0d7fd5f2b8ede776a8a395c1fd0427139ffa3219
tree683e39b6e091549b4a01a09a263f41c47f10279b
parent650c31d3af8a6a4a7174633f93ed9405e9c8d279
x86/IRQ: target online CPUs when binding guest IRQ

fixup_irqs() skips interrupts without action. Hence such interrupts can
retain affinity to just offline CPUs. With "noirqbalance" in effect,
pirq_guest_bind() so far would have left them alone, resulting in a non-
working interrupt.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c