Re: [PATCH v2 1/2] accel: Introduce current_accel_name()

2022-06-20 Thread Richard Henderson
On 6/20/22 12:22, Alexander Graf wrote: 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 --- accel/accel-common.c | 8 includ

[PATCH v2 1/2] accel: Introduce current_accel_name()

2022-06-20 Thread Alexander Graf
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 --- accel/accel-common.c | 8 include/qemu/accel.h | 1 + softmmu/vl.c