diff options
| author | Alex Bennée | 2022-01-05 14:49:57 +0100 |
|---|---|---|
| committer | Alex Bennée | 2022-01-18 17:42:42 +0100 |
| commit | 92e28c03d6162d55b40f7052962067c021c90e7d (patch) | |
| tree | 912a21b0f1d2023f532cc10902e6ffb9dfb10c07 /qapi | |
| parent | hw/arm: add control knob to disable kaslr_seed via DTB (diff) | |
| download | qemu-92e28c03d6162d55b40f7052962067c021c90e7d.tar.gz qemu-92e28c03d6162d55b40f7052962067c021c90e7d.tar.xz qemu-92e28c03d6162d55b40f7052962067c021c90e7d.zip | |
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')
| -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 b6a37e17c4..c87c81b803 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -1503,6 +1503,7 @@ ## { 'command': 'x-query-profile', 'returns': 'HumanReadableText', + 'if': 'CONFIG_TCG', 'features': [ 'unstable' ] } ## |
