From: Philippe Mathieu-Daudé Date: Wed, 14 Jan 2026 21:21:13 +0000 (+0100) Subject: tests/functional: Require TCG to run reverse debugging tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b87e00c25bb7b792c0ea80ac02f0bb6770f5106;p=thirdparty%2Fqemu.git tests/functional: Require TCG to run reverse debugging tests Record/replay is specific to TCG. Require it to avoid failure when using a HVF-only build on Darwin: qemu-system-aarch64: -icount shift=7,rr=record,rrfile=/scratch/replay.bin,rrsnapshot=init: cannot configure icount, TCG support not available Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé Reviewed-by: Alex Bennée Message-ID: <20260115161029.24116-1-philmd@linaro.org> --- diff --git a/tests/functional/reverse_debugging.py b/tests/functional/reverse_debugging.py index 8b9507674a..8e6f0b0e92 100644 --- a/tests/functional/reverse_debugging.py +++ b/tests/functional/reverse_debugging.py @@ -67,6 +67,8 @@ class ReverseDebugging(LinuxKernelTest): def reverse_debugging(self, gdb_arch, shift=7, args=None, big_endian=False): from qemu_test import GDB + self.require_accelerator("tcg") + # create qcow2 for snapshots self.log.info('creating qcow2 image for VM snapshots') image_path = os.path.join(self.workdir, 'disk.qcow2')