Page MenuHomeFreeBSD

bhyve: Split backends into separate files
ClosedPublic

Authored by markj on Nov 20 2023, 11:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 5:13 PM
Unknown Object (File)
Mon, Nov 11, 4:24 PM
Unknown Object (File)
Mon, Nov 11, 2:04 PM
Unknown Object (File)
Mon, Nov 11, 11:04 AM
Unknown Object (File)
Mon, Nov 11, 10:49 AM
Unknown Object (File)
Sun, Nov 10, 3:03 AM
Unknown Object (File)
Oct 4 2024, 11:57 PM
Unknown Object (File)
Oct 2 2024, 12:07 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 21 2023, 7:28 AM
jhb added inline comments.
usr.sbin/bhyve/net_backends.h
99

Should this be in net_backends_priv.h instead?

usr.sbin/bhyve/net_backends.h
99

Yes, will fix before commit.

This revision was automatically updated to reflect the committed changes.