]> git.proxmox.com Git - mirror_lxc.git/commit
lxc: add --statefile opt to lxc-checkpoint/restart
authorMichel Normand <normand@fr.ibm.com>
Fri, 2 Apr 2010 16:45:47 +0000 (18:45 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 2 Apr 2010 16:49:11 +0000 (18:49 +0200)
commit9b8e796c37e4fa9291de31f94dbc9e06216b58ff
treea45e822bfac5c5217bad99a8c63b6f80379b34f8
parent9ea8066aa67b808f71f46e346bd7a215e2a355f3
lxc: add --statefile opt to lxc-checkpoint/restart

based on patch from: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>

but also:
* remove the deprecated --directory one.
* change liblxc api of checkpoint/restart to use fd and not string.
* explicitely report error messages for the checkpoint/restart stub functions.

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/checkpoint.c
src/lxc/lxc.h
src/lxc/lxc_checkpoint.c
src/lxc/lxc_restart.c
src/lxc/restart.c