From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [RFC][PATCH 0/5][lxc]: Link with USERCR Date: Mon, 22 Mar 2010 15:45:01 +0100 Message-ID: <4BA7826D.10706@fr.ibm.com> References: <20100319063912.GA25732@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100319063912.GA25732-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 , clg-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org List-Id: containers.vger.kernel.org Sukadev Bhattiprolu wrote: > Link lxc_checkpoint, lxc_restart with USERCR[2] > > 3. Checkpoint/restart a simple LXC container > > $ lxc-execute --name foo --rcfile lxc-no-netns.conf -- /bin/sleep 1000 > > $ lxc-freeze --name foo > > $ lxc-checkpoint --name foo --image /root/lxc-foo.ckpt > > $ lxc-unfreeze --name foo IMO, the freeze / thaw should be done in the lxc_checkpoint function code. > $ lxc-stop --name foo > > $ lxc-restart --name foo --image /root/lxc-foo.ckpt Is the container restarted in a frozen state ?