[Devel] Re: [PATCH 2/5][lxc] lxc_restart: Add --image option

Daniel Lezcano dlezcano at fr.ibm.com
Mon Mar 22 07:45:10 PDT 2010


Sukadev Bhattiprolu wrote:
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> Date: Wed, 10 Mar 2010 21:59:39 -0800
> Subject: [PATCH 2/5][lxc] lxc_restart: Add --image option
> 
> The existing --directory option to lxc_restart expects the checkpoint state
> to be a directory. USERCR however uses a single regular file to store the
> checkpoint image. So add a --image option to enable checkpointing and
> restarting applications using USERCR.
> 
> Depending on how the application was checkpointed, users should specify
> either --image=CHECKPOINT-IMAGE or the --directory=STATEFILE option (but not
> both).

It's a detail but I would prefer to replace --image by --statefile. So 
we can put --directory deprecated and use --statefile as a more generic 
name.


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list