HomeFreeBSD

bhyve: Split vmexit handling into a separate file

Description

bhyve: Split vmexit handling into a separate file

Put it in amd64, since most of it is MD and won't be used on arm64. Add
a bit of glue to bhyverun.h to make CPU startup and shutdown work
without having to export more global variables. AP startup will be
reworked further in a future revision.

This makes bhyverun.c much more machine-independent.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 1 week
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40556

(cherry picked from commit 72f9c9d82fce84fcb68c9aa1f32fabcf0c0038e9)

Details

Provenance
markjAuthored on Oct 4 2023, 4:22 PM
Reviewer
corvink
Differential Revision
D40556: bhyve: Split vmexit handling into a separate file
Parents
rG013da5d9c415: bhyve: Move kernemu to amd64/
Branches
Unknown
Tags
Unknown