]> git.ipfire.org Git - thirdparty/lxc.git/commit
change the checkpoint/restart function api
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 28 May 2009 10:10:50 +0000 (12:10 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 28 May 2009 10:10:50 +0000 (12:10 +0200)
commit920dfa346cf63cd501192dafe9a64a615147fedc
treef80d8e61fbfa39a92ea144138cc1785e45d650a2
parent34c66a6980bebf1ca9b7da87e627fc507a6c139a
change the checkpoint/restart function api

As the checkpoint/restart is expected to be sequential,
I pass the file descriptor to checkpoint and restart, so
that will be up to the caller to open the file descriptor
which can be a pipe, socket, file, etc ...

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