diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2022-01-05 13:49:57 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-01-18 16:42:42 +0000 |
commit | 92e28c03d6162d55b40f7052962067c021c90e7d (patch) | |
tree | 912a21b0f1d2023f532cc10902e6ffb9dfb10c07 /qapi/machine.json | |
parent | 33973e1e1f88b7588fe9629645e279ff2c6ca1c4 (diff) | |
download | qemu-92e28c03d6162d55b40f7052962067c021c90e7d.zip qemu-92e28c03d6162d55b40f7052962067c021c90e7d.tar.gz qemu-92e28c03d6162d55b40f7052962067c021c90e7d.tar.bz2 |
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>
Diffstat (limited to 'qapi/machine.json')
-rw-r--r-- | qapi/machine.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qapi/machine.json b/qapi/machine.json index b6a37e1..c87c81b 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1503,6 +1503,7 @@ ## { 'command': 'x-query-profile', 'returns': 'HumanReadableText', + 'if': 'CONFIG_TCG', 'features': [ 'unstable' ] } ## |