Re: [lxc-devel] [PATCH] API support for container snapshots

2013-09-06 Thread Stéphane Graber
On Fri, Sep 06, 2013 at 02:13:23PM -0500, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > +static struct lxc_container *lxcsnap_open(struct lxc_snapshot *s) > > > +{ > > > + return NULL; > > > +} > > > > I guess that's because we may want to do some more stuff in there l

Re: [lxc-devel] [PATCH] API support for container snapshots

2013-09-06 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > > +static struct lxc_container *lxcsnap_open(struct lxc_snapshot *s) > > +{ > > + return NULL; > > +} > > I guess that's because we may want to do some more stuff in there later > right? ^ That's what I was originally thinking, but I'm thinking I

Re: [lxc-devel] [PATCH] API support for container snapshots

2013-09-06 Thread Stéphane Graber
On Fri, Sep 06, 2013 at 11:11:06AM -0500, Serge Hallyn wrote: > I'll write a 'lxc-snapshot' program using this api next, but here is > a first shot at the actual API functionality. > > See the comments in lxccontainer.h and the example usage in > src/tests/snapshot.c for details. > > Signed-off-b