summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2022-06-24 15:42:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-27 11:18:17 +0100
commit55bd445c4195966675236936c0a8642f1965dddb (patch)
tree60f42772a34decbea78de9cb46dd0913a7a87510 /scripts/qapi/common.py
parentba1a6723f58640ba281bc952abc255e97c70bad5 (diff)
downloadfocaccia-qemu-55bd445c4195966675236936c0a8642f1965dddb.tar.gz
focaccia-qemu-55bd445c4195966675236936c0a8642f1965dddb.zip
accel: Introduce current_accel_name()
We need to fetch the name of the current accelerator in flexible error
messages more going forward. Let's create a helper that gives it to us
without casting in the target code.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220620192242.70573-1-agraf@csgraf.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions