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

2017-09-25 Thread Thomas Huth
On 06.09.2017 22:28, Emilio G. Cota wrote: [...] > diff --git a/plugin.c b/plugin.c > new file mode 100644 > index 000..3cd19df > --- /dev/null > +++ b/plugin.c > @@ -0,0 +1,519 @@ > +/* plugin.c - QEMU Plugin interface > + * > + * Copyright (C) 2017, Emilio G. Cota > + * > + * License: GNU GP

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

2017-09-06 Thread Emilio G. Cota
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 rep