HomeFreeBSD

bhyve: create all vcpus on startup

Description

bhyve: create all vcpus on startup

vcpus could be restarted by the guest by sending an INIT SIPI SIPI
sequence to a vcpu. That's not supported by bhyve yet but it will be
supported in a future commit. So, create the vcpu threads only once on
startup to make restarting a vcpu easier.

MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35621
Sponsored by: Beckhoff Automation GmbH & Co. KG

Details

Provenance
corvinkAuthored on Sep 7 2022, 7:05 AM
manuCommitted on Sep 7 2022, 7:05 AM
Differential Revision
D35621: bhyve: create all vcpus on startup
Parents
rG4385a9f851bb: Fix build.
Branches
Unknown
Tags
Unknown