Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/snapshot.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | |||||
int vm_restore_user_devs(struct vmctx *ctx, struct restore_state *rstate); | int vm_restore_user_devs(struct vmctx *ctx, struct restore_state *rstate); | ||||
int vm_pause_user_devs(struct vmctx *ctx); | int vm_pause_user_devs(struct vmctx *ctx); | ||||
int vm_resume_user_devs(struct vmctx *ctx); | int vm_resume_user_devs(struct vmctx *ctx); | ||||
int get_checkpoint_msg(int conn_fd, struct vmctx *ctx); | int get_checkpoint_msg(int conn_fd, struct vmctx *ctx); | ||||
void *checkpoint_thread(void *param); | void *checkpoint_thread(void *param); | ||||
void init_snapshot(void); | void init_snapshot(void); | ||||
int init_checkpoint_thread(struct vmctx *ctx, cap_channel_t *chn); | int init_checkpoint_thread(struct vmctx *ctx, char *ckp_path, cap_channel_t *chn); | ||||
int load_restore_file(const char *filename, struct restore_state *rstate); | int load_restore_file(const char *filename, struct restore_state *rstate); | ||||
#endif | #endif |