diff options
author | royger <royger@FreeBSD.org> | 2014-03-11 10:25:08 +0000 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2014-03-11 10:25:08 +0000 |
commit | 66d3470d387d182c6520811cc7c33f4eae55d96b (patch) | |
tree | f622095f2db7cdb0e79209c4e8bf73b1a54ba727 /sys/conf | |
parent | 6b1be122340e08f3cd907273f419d173138cf66e (diff) | |
download | FreeBSD-src-66d3470d387d182c6520811cc7c33f4eae55d96b.zip FreeBSD-src-66d3470d387d182c6520811cc7c33f4eae55d96b.tar.gz |
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.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.amd64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 45c0927..c493a31 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -558,3 +558,4 @@ x86/x86/delay.c standard x86/xen/hvm.c optional xenhvm x86/xen/xen_intr.c optional xen | xenhvm x86/xen/pv.c optional xenhvm +x86/xen/pvcpu_enum.c optional xenhvm |