Alex Bennée 92e28c03d6 monitor: move x-query-profile into accel/tcg to fix build
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.bennee@linaro.org>
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fixes: 37087fde0e ("qapi: introduce x-query-profile QMP command")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/773
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220105135009.1584676-23-alex.bennee@linaro.org>
2022-01-18 16:42:42 +00:00
..
2021-12-21 10:50:22 +04:00
2022-01-14 12:03:16 +01:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-12-21 10:50:22 +04:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-09-30 15:30:25 +02:00
2021-11-09 18:21:19 +01:00
2022-01-13 15:33:18 +01:00
2021-01-13 10:21:17 +01:00