]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen: attach the PV CPU if no CPU device is present
authorroyger <royger@FreeBSD.org>
Thu, 19 Jul 2018 08:00:52 +0000 (08:00 +0000)
committerroyger <royger@FreeBSD.org>
Thu, 19 Jul 2018 08:00:52 +0000 (08:00 +0000)
commit80961fa69a3576e24d3d611f99037bf802076d30
tree4544b71fd4e4cf6e61dd987f04f0d3e67f1b57d5
parent59eb4b2c81a1cdc7f8c1771354a60f236bc9d4c2
xen: attach the PV CPU if no CPU device is present

When booted as PVHv2, there's no ACPI CPU object, so attach the PV CPU
device in order to take it's place.

This is required in case some device or driver tries to poke at the
PCPU device field.

Sponsored by: Citrix Systems R&D
sys/dev/xen/pvcpu/pvcpu.c