David Woodhouse c723d4c15e hw/xen: Implement EVTCHNOP_bind_virq
Add the array of virq ports to each vCPU so that we can deliver timers,
debug ports, etc. Global virqs are allocated against vCPU 0 initially,
but can be migrated to other vCPUs (when we implement that).

The kernel needs to know about VIRQ_TIMER in order to accelerate timers,
so tell it via KVM_XEN_VCPU_ATTR_TYPE_TIMER. Also save/restore the value
of the singleshot timer across migration, as the kernel will handle the
hypercalls automatically now.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-03-01 08:22:50 +00:00
..
2023-02-08 07:28:05 +01:00
2023-01-08 01:54:22 -05:00
2021-09-21 16:28:26 +01:00
2023-03-01 08:22:50 +00:00
2022-05-03 15:17:53 +04:00
2020-10-05 16:41:22 +02:00
2020-11-15 16:44:18 +01:00
2022-09-29 11:40:28 +02:00