]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
xen: attach the PV CPU if no CPU device is present
authorRoger Pau Monné <royger@FreeBSD.org>
Thu, 19 Jul 2018 08:00:52 +0000 (08:00 +0000)
committerRoger Pau Monné <royger@FreeBSD.org>
Thu, 19 Jul 2018 08:00:52 +0000 (08:00 +0000)
commit3653af112f73318b7bcf37c54a79120b5d6f33c1
tree4544b71fd4e4cf6e61dd987f04f0d3e67f1b57d5
parentfa6090423244d1ebcf72e8db2d32a83582343422
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