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

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Wed Mar 24 12:48:51 PDT 2010


Daniel Lezcano [dlezcano at fr.ibm.com] wrote:
> 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.

Ok will fix.


More information about the Containers mailing list