From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: Re: [PATCH 0/14][user-cr] Enable linking with LIBLXC Date: Tue, 30 Mar 2010 03:04:56 -0400 Message-ID: <4BB1A298.5030403@cs.columbia.edu> References: <20100319062659.GA23838@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100319062659.GA23838-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 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: Sukadev Bhattiprolu Cc: Containers List-Id: containers.vger.kernel.org Suka, Thanks for the patches - applied on ckpt-v20-dev. I think it's time to look for a naming convention for the library and API ... Oren Sukadev Bhattiprolu wrote: > Patches to enable linking LIBLXC with USERCR. > > Patches 1 through 9 are simply rebased patches due to the dropping of one > of the earlier patches (Oren had nacked one patch in my earlier set. See > > https://lists.linux-foundation.org/pipermail/containers/2010-March/023564.html > > Patches 10 through 14 are additional changes needed to get LXC checkpoint > and restart to work. > > [PATCH 01/14] Add app_restart_args->debug > [PATCH 02/14] Add app_restart_args->verbose > [PATCH 03/14] Add app_restart_args->ulogfd > [PATCH 04/14] Add app_restart_args->uerrfd > [PATCH 05/14] Define INIT_SIGNAL_ARRAY > [PATCH 06/14] Create common.h > [PATCH 07/14] Create app-checkpoint.h > [PATCH 08/14] restart: Move main() to restart-main.c > [PATCH 09/14] checkpoint: Move main() to checkpoint-main.c > > [PATCH 10/14] Have app_restart() return pid > [PATCH 11/14] restart: Define process_args() > [PATCH 12/14] app_restart(): mnt-pty implies mntns > [PATCH 13/14] restart: Move args checking to app_restart() > [PATCH 14/14] Minimize unshare() calls > > With these patches, USERCR exports app_checkpoint() and app_restart() > functions in checkpoint.o and restart.o. LXC links directly with these > .o files to checkpoint/restart its containers. > > Signed-off-by: Sukadev Bhattiprolu >