On Wed, Sep 06, 2017 at 16:28:44 -0400, Emilio G. Cota wrote: > --- /dev/null > +++ b/plugin.c > @@ -0,0 +1,519 @@ (snip) > + /* > + * @lock protects the struct as well as ctx->uninstalling. > + * The lock must be acquired by all API ops. Since some API ops > + * call plugin code repeatedly (e.g. vcpu_for_each), we keep > + * a counter to allow for recursive acquisitions. > + */ > + QemuMutex lock;
This comment is outdated. The lock is not recursive anymore (it used to be). E.