[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.
- [Qemu-devel] [RFC 0/6] initial plugin support, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 6/6] linux-user: support -plugin option, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 3/6] configure: add --enable-plugins, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plugin.h, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 5/6] vl: support -plugin option, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 1/6] tcg: keep a pointer to the current TB in TCGContext, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 2/6] plugin: add initial plugin support, Emilio G. Cota, 2017/09/06
- Re: [Qemu-devel] [RFC 0/6] initial plugin support, Peter Maydell, 2017/09/14
- Re: [Qemu-devel] [RFC 0/6] initial plugin support, Stefan Hajnoczi, 2017/09/18
- Re: [Qemu-devel] [RFC 0/6] initial plugin support, Thomas Huth, 2017/09/26