Meant to include this in the last reply - Here's a patch for the lxcFreeVMs() issue:
This breaks doesn't it? After calling lxcFreeVM(), curVm is no longer valid
since it was free()'d. Need to pull out the next pointer before lxcFreeVM().
--
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization