@samitouri / QOSamiQemu / commits / 7ca3f8a84b

accel/tcg: Remove cpu_loop_exit() stub

Last commit removed the last non-TCG use of cpu_loop_exit(). This method is now only called within TCG files, so we can remove its stub for non-TCG accelerators. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260617171438.75914-4-philmd@oss.qualcomm.com>

Philippe Mathieu-Daudé committed Jun 16, 2026 at 18:17 UTC 7ca3f8a84b1aa036f835999d2542859fdebbc914
2 files changed -20
accel/stubs/meson.build
-1
@@ -4,7 +4,6 @@ stub_ss.add(files(
4 'nitro-stub.c',
5 'mshv-stub.c',
6 'nvmm-stub.c',
7 - 'tcg-stub.c',
7 'whpx-stub.c',
8 'xen-stub.c',
9 ))
accel/stubs/tcg-stub.c deleted
-19
@@ -1,19 +0,0 @@
1 -/*
2 - * QEMU TCG accelerator stub
3 - *
4 - * Copyright Red Hat, Inc. 2013
5 - *
6 - * Author: Paolo Bonzini <pbonzini@redhat.com>
7 - *
8 - * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 - * See the COPYING file in the top-level directory.
10 - *
11 - */
12 -
13 -#include "qemu/osdep.h"
14 -#include "exec/cpu-common.h"
15 -
16 -G_NORETURN void cpu_loop_exit(CPUState *cpu)
17 -{
18 - g_assert_not_reached();
19 -}