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: 37087fde ("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>
Please register or sign in to comment