Commit 7ca3f8a84b for qemu.org

commit 7ca3f8a84b1aa036f835999d2542859fdebbc914
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Tue Jun 16 18:17:19 2026 +0200

    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>

diff --git a/accel/stubs/meson.build b/accel/stubs/meson.build
index ccad583e64..7c6d7ad943 100644
--- a/accel/stubs/meson.build
+++ b/accel/stubs/meson.build
@@ -4,7 +4,6 @@ stub_ss.add(files(
   'nitro-stub.c',
   'mshv-stub.c',
   'nvmm-stub.c',
-  'tcg-stub.c',
   'whpx-stub.c',
   'xen-stub.c',
 ))
diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
deleted file mode 100644
index 77055e3964..0000000000
--- a/accel/stubs/tcg-stub.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * QEMU TCG accelerator stub
- *
- * Copyright Red Hat, Inc. 2013
- *
- * Author: Paolo Bonzini     <pbonzini@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#include "qemu/osdep.h"
-#include "exec/cpu-common.h"
-
-G_NORETURN void cpu_loop_exit(CPUState *cpu)
-{
-    g_assert_not_reached();
-}