HomeFreeBSD

bhyve: Push option parsing down into bhyverun_machdep.c

Description

bhyve: Push option parsing down into bhyverun_machdep.c

After a couple of attempts I think this is the cleanest approach despite
the expense of some code duplication. Quite a few of the single-letter
bhyve options are x86-specific.

I think that going forward we should strongly discourage the addition of
new options and instead configure guests using the more general
configuration file syntax.

Reviewed by: corvink, jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D41753

Details

Provenance
markjAuthored on Apr 3 2024, 5:44 PM
Reviewer
corvink
Differential Revision
D41753: bhyve: Push option parsing down into bhyverun_machdep.c
Parents
rG11c79f9e358d: arm64: Connect bhyve and libvmmapi to the build
Branches
Unknown
Tags
Unknown