Skip to content
Commit b1c3497e authored by Jane Malalane's avatar Jane Malalane Committed by Juergen Gross
Browse files

x86/xen: Add support for HVMOP_set_evtchn_upcall_vector



Implement support for the HVMOP_set_evtchn_upcall_vector hypercall in
order to set the per-vCPU event channel vector callback on Linux and
use it in preference of HVM_PARAM_CALLBACK_IRQ.

If the per-VCPU vector setup is successful on BSP, use this method
for the APs. If not, fallback to the global vector-type callback.

Also register callback_irq at per-vCPU event channel setup to trick
toolstack to think the domain is enlightened.

Suggested-by: default avatar"Roger Pau Monné" <roger.pau@citrix.com>
Signed-off-by: default avatarJane Malalane <jane.malalane@citrix.com>
Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20220729070416.23306-1-jane.malalane@citrix.com
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 251e90e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment