Re: [lxc-devel] [PATCH] lxc-ls: Cache groups and show bygroup in autostart

2014-05-02 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > On Fri, May 02, 2014 at 08:23:27PM +, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > > > This makes sure we only query lxc.group once and then reuse that list > > > for filtering, listing groups and autostart. > > > > >

Re: [lxc-devel] [PATCH] lxc-ls: Cache groups and show bygroup in autostart

2014-05-02 Thread Stéphane Graber
On Fri, May 02, 2014 at 08:23:27PM +, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): > > This makes sure we only query lxc.group once and then reuse that list > > for filtering, listing groups and autostart. > > > > When a container is auto-started only as part of a group

Re: [lxc-devel] [PATCH] lxc-ls: Cache groups and show bygroup in autostart

2014-05-02 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This makes sure we only query lxc.group once and then reuse that list > for filtering, listing groups and autostart. > > When a container is auto-started only as part of a group, autostart will > now show by-group instead of yes. > > Signed-off-by:

[lxc-devel] [PATCH] lxc-ls: Cache groups and show bygroup in autostart

2014-05-02 Thread Stéphane Graber
This makes sure we only query lxc.group once and then reuse that list for filtering, listing groups and autostart. When a container is auto-started only as part of a group, autostart will now show by-group instead of yes. Signed-off-by: Stéphane Graber --- src/lxc/lxc-ls.in | 23 +--