HomeFreeBSD

xen: add an apic_enumerator for PVH

Description

xen: add an apic_enumerator for PVH

On PVH there's no ACPI, so the CPU enumeration must be implemented
using Xen hypercalls.

Approved by: gibbs
Sponsored by: Citrix Systems R&D

x86/xen/pvcpu_enum.c:

  • Enumerate avaiable vCPUs on PVH by using the VCPUOP_is_up hypercall.
  • Set vcpu_id for PVH guests.

conf/files.amd64:

  • Include the PV CPU enumerator in the XENHVM build.

Details

Provenance
roygerAuthored on
Parents
rS263010: xen: use the same hypercall mechanism for XEN and XENHVM
Branches
Unknown
Tags
Unknown

Event Timeline