Esempio n. 1
0
File: freezer.c Progetto: NiR-/lxc
int lxc_freeze(const char *name, const char *lxcpath)
{
    lxc_monitor_send_state(name, FREEZING, lxcpath);
    return do_freeze_thaw(1, name, lxcpath);
}
Esempio n. 2
0
File: freezer.c Progetto: NiR-/lxc
int lxc_unfreeze(const char *name, const char *lxcpath)
{
    return do_freeze_thaw(0, name, lxcpath);
}
Esempio n. 3
0
File: freezer.c Progetto: hallyn/lxc
int lxc_freeze(const char *name, const char *lxcpath)
{
	lxc_cmd_serve_state_clients(name, lxcpath, FREEZING);
	lxc_monitor_send_state(name, FREEZING, lxcpath);
	return do_freeze_thaw(true, name, lxcpath);
}