qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC 4/4] tcg/plugins: Add example pair of QPP plugins


From: Andrew S. Fasano
Subject: Re: [RFC 4/4] tcg/plugins: Add example pair of QPP plugins
Date: Mon, 26 Sep 2022 21:38:28 +0000

From: Alex Bennée <alex.bennee@linaro.org>
> Andrew Fasano <fasano@mit.edu> writes:
> 
> > The first plugin, qpp_srv exposes two functions and one callback that other
> > plugins can leverage. These functions are described in the corresponding
> > header file.
> >
> > The second plugin, qpp_client, imports this header file, registers its
> > own function to run on a qpp_srv-provided callback, and directly calls
> > into the two exposed functions in qpp_srv.
> >
> > Signed-off-by: Andrew Fasano <fasano@mit.edu>
> > ---
> >  contrib/plugins/Makefile     |  2 ++
> >  contrib/plugins/qpp_client.c | 42 ++++++++++++++++++++++++++++++++++++
> >  contrib/plugins/qpp_client.h |  1 +
> >  contrib/plugins/qpp_srv.c    | 33 ++++++++++++++++++++++++++++
> >  contrib/plugins/qpp_srv.h    | 17 +++++++++++++++
> 
> Oh and I forgot this toy case should probably be in test/plugins/qpp with an
> explicit test in tests/tcg/multiarch/Makefile to exercise it during
> "make check-tcg". This should hopefully avoid having to mess with
> PLUGINS in tests/tcg/Makefile.target.

Okay, that makes sense. Thanks so much for all the feedback!

> 
> <snip>
> 
> -- 
> Alex Bennée

Thanks,
Andrew



reply via email to

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