tests/functional: Require TCG to run reverse debugging tests
PATCH 1/1 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
--- tests/functional/reverse_debugging.py | 2 ++ 1 file changed, 2 insertions(+)
tests/functional/reverse_debugging.py +2 -0
@@ -67,6 +67,8 @@ def vm_get_icount(vm): 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')
Signature · 1 line
2.52.0
Quoted 9 lines · Philippe Mathieu-Daudé
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é <[email protected]>--- tests/functional/reverse_debugging.py | 2 ++ 1 file changed, 2 insertions(+)
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 6 lines · Philippe Mathieu-Daudé
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é <[email protected]>
Signature · 2 lines
Alex Bennée Virtualisation Tech Lead @ Linaro
Philippe Mathieu-Daudé
AppliedQuoted 9 lines · Philippe Mathieu-Daudé
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é <[email protected]>--- tests/functional/reverse_debugging.py | 2 ++ 1 file changed, 2 insertions(+)
Queued via accel-next tree, thanks.