On Thu, Mar 17, 2011 at 16:22:35 +0100, Jiri Denemark wrote:
Calling most hash APIs is not safe from inside of an iterator
callback.
Exceptions are APIs that do not modify the hash table and removing
current hash entry from virHashFroEach callback.
This patch make all APIs which are not safe fail instead of just relying
on the callback being nice not calling any unsafe APIs.
Oops, I forgot to include notes...
Version 2:
- report error when forbidden operation is called during iteration
Jirka