qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 2/6] plugin: add initial plugin support


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [RFC 2/6] plugin: add initial plugin support
Date: Wed, 6 Sep 2017 16:41:02 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]