DS> But then clean it up every time through the loop, which should be
DS> causing a crash on the 1..n iterations. If you're not seeing a
DS> crash, I imagine you're getting lucky. virDomainFree() protects
DS> against a double-free with some magic, I think, but using list
DS> after the first time through here is broken.
Okay, that was just dumb of me. I took something in your commit
message and inferred code from it without reading it carefully.
What you're doing is correct, and it's how we do it elsewhere in the
providers.
My mistake :)
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com