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

Details

Provenance
markjAuthored on Nov 22 2023, 7:10 PM
Reviewer
corvink
Differential Revision
D42689: bhyve: Split backends into separate files
Parents
rG6332e0f1a4b3: CAM: Remove return value from xpt_path_sbuf()
Branches
Unknown
Tags
Unknown