Re: [PATCH v5 54/55] plugins: add qemu_plugin_outs and use it

2019-10-14 Thread Richard Henderson
On 10/14/19 3:49 AM, Alex Bennée wrote: > Having the plugins grab stdout and spew stuff there is a bit ugly and > certainly makes the tests look ugly. Provide a hook back into QEMU > which can be redirected as needed. > > For the newer plugins that use GString already this falls out pretty > natur

[PATCH v5 54/55] plugins: add qemu_plugin_outs and use it

2019-10-14 Thread Alex Bennée
Having the plugins grab stdout and spew stuff there is a bit ugly and certainly makes the tests look ugly. Provide a hook back into QEMU which can be redirected as needed. For the newer plugins that use GString already this falls out pretty naturally. For the older printf style plugins we convert