freebsd-dev/usr.sbin/bhyvectl
Robert Wing da9713917e bhyvectl: reduce code duplication
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.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D28878
2021-02-27 12:05:52 -09:00
..
bhyvectl.8 bhyvectl(8): Normalize the man page date 2020-12-19 13:21:40 +00:00
bhyvectl.c bhyvectl: reduce code duplication 2021-02-27 12:05:52 -09:00
Makefile libvmm: clean up vmmapi.h 2021-02-17 17:46:42 -09:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00