Daniel P. Berrangé <berra...@redhat.com> writes:

> On Tue, Dec 14, 2021 at 07:50:48PM +0000, Alex Bennée wrote:
>> As --enable-profiler isn't defended in CI we missed this breakage.
>> Move the qmp handler into accel/tcg so we have access to the helpers
>> we need. While we are at it ensure we gate the feature on CONFIG_TCG.
>> 
>> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
>> Suggested-by: Daniel P. Berrangé <berra...@redhat.com>
>> Reported-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>
>> Fixes: 37087fde0e ("qapi: introduce x-query-profile QMP command")
>> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/773
>> 
>> ---
>> v2
>>   - enclosed in #ifndef CONFIG_USER_ONLY section
>> ---
>>  qapi/machine.json    |  1 +
>>  accel/tcg/cpu-exec.c | 31 +++++++++++++++++++++++++++++++
>>  monitor/qmp-cmds.c   | 31 -------------------------------
>>  3 files changed, 32 insertions(+), 31 deletions(-)
>
> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
>
> Sorry about the mess up I introduced in refactoring, and thanks for
> fixing it for me.

Thanks for the review - now await v3 as I can see my CI died on a whole
bunch of non-TCG builds!

>
> Regards,
> Daniel


-- 
Alex Bennée

Reply via email to