]> git.proxmox.com Git - mirror_qemu.git/commit
accel: Introduce current_accel_name()
authorAlexander Graf <agraf@csgraf.de>
Fri, 24 Jun 2022 14:42:56 +0000 (15:42 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2022 10:18:17 +0000 (11:18 +0100)
commit55bd445c4195966675236936c0a8642f1965dddb
tree60f42772a34decbea78de9cb46dd0913a7a87510
parentba1a6723f58640ba281bc952abc255e97c70bad5
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>
accel/accel-common.c
include/qemu/accel.h
softmmu/vl.c