From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: [PATCH 00/13][user-cr]: Cleanups checkpoint.c, restart.c Date: Wed, 3 Mar 2010 23:43:54 -0800 Message-ID: <20100304074354.GA29320@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Containers , sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: containers.vger.kernel.org [PATCH 00/13][user-cr]: Cleanups checkpoint.c, restart.c These patches perform some cleanups/reorg of the code in checkpoint.c and restart.c files. These changes remove redundant fields in data structures, rename some fields/functions and avoid directly using stdout/stderr. The changes will help us later export app_checkpoint() and app_restart() to larger container implementations such as LXC. [PATCH 01/13][user-cr]: restart: Remove args->no_pidns. [PATCH 02/13][user-cr]: restart: Rename args->logfd [PATCH 03/13][user-cr]: restart: Remove args->logfile [PATCH 04/13][user-cr]: restart: Use ckpt_msg() to log [PATCH 05/13][user-cr]: restart: Use ckpt_perror() [PATCH 06/13][user-cr]: restart: Remove args->input [PATCH 07/13][user-cr]: Define app_restart() [PATCH 08/13][user-cr]: restart: Rename struct args. [PATCH 09/13][user-cr]: checkpoint: Remove args->output [PATCH 10/13][user-cr]: checkpoint: Remove ->logfile [PATCH 11/13][user-cr]: checkpoint: Rename struct args [PATCH 12/13][user-cr]: Define app_checkpoint() [PATCH 13/13] checkpoint: Use ckpt_perror() Signed-off-by: Sukadev Bhattiprolu