]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Some fwctl simplifications.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 13 Oct 2023 19:26:22 +0000 (12:26 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 13 Oct 2023 19:26:22 +0000 (12:26 -0700)
commitf0852344e7abf4d74508185e67a1b98d6cdbd026
treea49bf96ecfe165701b2979d5911080c7cc1b982a
parent8f31b879ecaf9e738dba631df4606742ee404e8e
bhyve: Some fwctl simplifications.

- Collapse IDENT_SEND/IDENT_WAIT states down to a single state.

- Remove unused 'len' argument to op_data callback.  The value passed
  in (total amount of remaining data to receive) didn't seem very useful
  and no op_data implementations used it.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D41286
usr.sbin/bhyve/amd64/fwctl.c