HomeFreeBSD

bhyve: Split backends into separate files

Description

bhyve: Split backends into separate files

Currently the net_backend structure definition is private to
net_backends.c, so all of the backend definitions are there. While
adding a new backend to use libslirp, it was noted that this file is
somewhat cluttered. Move the netmap and netgraph backends to their own
files and clean up includes a bit. No functional change intended.

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

(cherry picked from commit be74aede49fb480792448bf563c5079998de7cbd)

Details

Provenance
markjAuthored on Nov 22 2023, 7:10 PM
Reviewer
corvink
Differential Revision
D42689: bhyve: Split backends into separate files
Parents
rGdf81b1511854: tty: Avoid a kernel memory discloure via kern.ttys
Branches
Unknown
Tags
Unknown