Page MenuHomeFreeBSD

bhyvectl: reduce code duplication
ClosedPublic

Authored by rew on Feb 23 2021, 1:49 AM.
Tags
None
Referenced Files
F143791661: D28878.diff
Sat, Jan 31, 1:40 PM
Unknown Object (File)
Fri, Jan 30, 2:14 PM
Unknown Object (File)
Fri, Jan 30, 2:14 PM
Unknown Object (File)
Dec 18 2025, 8:25 AM
Unknown Object (File)
Dec 11 2025, 1:08 AM
Unknown Object (File)
Dec 2 2025, 8:19 PM
Unknown Object (File)
Nov 24 2025, 5:52 PM
Unknown Object (File)
Nov 24 2025, 5:52 PM

Details

Summary

Combine send_start_checkpoint() and send_start_suspend() into a
single function named snapshot_request().

snapshot_request is equivalent to send_start_checkpoint and
send_start_suspend except that it takes an additional argument. The
additional argument, enum ipc_opcode, is used to determine the type of
snapshot request being performed. Also, switch to using strlcpy instead
of strncpy.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37289
Build 34178: arc lint + arc unit