]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Push option parsing down into bhyverun_machdep.c
authorMark Johnston <markj@FreeBSD.org>
Wed, 3 Apr 2024 17:44:40 +0000 (13:44 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 10 Apr 2024 15:17:56 +0000 (11:17 -0400)
commit981f9f7495bb8247e0eba48e15dcc7f2e0b1b342
treeb761756117fa7cd090c6063e0e263ca33a888d1f
parent11c79f9e358d725dd75d91d2ff2996fd77dc88e5
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
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
usr.sbin/bhyve/amd64/bhyverun_machdep.c
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/bhyverun.h