evtchn: closing of vIRQ-s doesn't require looping over all vCPU-s
authorJan Beulich <jbeulich@suse.com>
Mon, 11 Jan 2021 13:53:55 +0000 (14:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Jan 2021 13:53:55 +0000 (14:53 +0100)
commit7cf8a2d0ec5cf1ec84a213c54fd14aa18d1609ac
treec9cc2cfe7245b6fc99aefc841ae24e96457b4030
parent1376ef90d31c971df79de331911bf861a9a11a44
evtchn: closing of vIRQ-s doesn't require looping over all vCPU-s

Global vIRQ-s have their event channel association tracked on vCPU 0.
Per-vCPU vIRQ-s can't have their notify_vcpu_id changed. Hence it is
well-known which vCPU's virq_to_evtchn[] needs updating.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
xen/common/event_channel.c