bhyve/snapshot: rename checkpoint_opcodes to be more generic

Generalize the naming here since the domain socket that uses these codes
might be used for purposes other than the save/restore feature.

- rename checkpoint_opcodes to ipc_opcode

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D28877
This commit is contained in:
Robert Wing 2021-02-27 12:03:03 -09:00
parent a9f1135503
commit b7fd9c4e5e

View File

@ -60,9 +60,9 @@ struct restore_state {
ucl_object_t *meta_root_obj;
};
enum checkpoint_opcodes {
START_CHECKPOINT = 0,
START_SUSPEND = 1,
enum ipc_opcode {
START_CHECKPOINT,
START_SUSPEND,
};
struct checkpoint_op {