mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
qemu_iotests: insert gdbserver command line as wrapper for qemu binary
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210809090114.64834-8-eesposit@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
This commit is contained in:
parent
d3ec2022cb
commit
776b9974e5
|
@ -580,7 +580,8 @@ class VM(qtest.QEMUQtestMachine):
|
|||
def __init__(self, path_suffix=''):
|
||||
name = "qemu%s-%d" % (path_suffix, os.getpid())
|
||||
timer = 15.0 if not qemu_gdb else None
|
||||
super().__init__(qemu_prog, qemu_opts, name=name,
|
||||
super().__init__(qemu_prog, qemu_opts, wrapper=qemu_gdb,
|
||||
name=name,
|
||||
base_temp_dir=test_dir,
|
||||
socket_scm_helper=socket_scm_helper,
|
||||
sock_dir=sock_dir, qmp_timer=timer)
|
||||
|
|
Loading…
Reference in a new issue