Re: [lxc-devel] liblxc, lxc-browse()

2011-05-06 Thread Daniel Lezcano
On 05/04/2011 08:18 PM, Francois-Xavier Bourlet wrote: > Hi, > > Ok I take note about inline patches in email. > > - About your version of lxc_for_each, your version is a lots better. > My code was totally stupid and non-performant. In fact I based my code > on something else that was needed the sc

[lxc-devel] [GIT] lxc branch, master, updated. f66331efb095656e555d65e413808dc8d3f71587

2011-05-06 Thread Daniel Lezcano
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "lxc". The branch, master has been updated via f66331efb095656e555d65e413808dc8d3f71587 (commit) via f2b2ec3160452acb017c75a5

[lxc-devel] [GIT] lxc branch, lxc-0.7.4.X, updated. b3c7b19a0de4a7ba74e6d46a01dccbc75c9a3c20

2011-05-06 Thread Daniel Lezcano
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "lxc". The branch, lxc-0.7.4.X has been updated via b3c7b19a0de4a7ba74e6d46a01dccbc75c9a3c20 (commit) via ed57edc0ad52692272c

Re: [lxc-devel] liblxc, lxc-browse()

2011-05-06 Thread Francois-Xavier Bourlet
ok thanks for all the information and example. I believe that rather than trying to iterate over every containers running or not and trying to merge the result we could simply iterate only on running container, or only stopped container (I simplify). So lxc_for_each could simply take a state in pa