qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance


From: Emanuele Giuseppe Esposito
Subject: [RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance
Date: Thu, 1 Apr 2021 15:57:30 +0200

This series adds the option to attach gdbserver to the qemu_system_*
instance running in the qemu-iotests. 

Patch 1 adds the possibility to set a custom timer for the QMP socket,
necessary otherwise the connection will just drop after 15 seconds,
making the use of gdb very hard. Patch 2 adds the flag in the python
tests (or in general when a test is invoked with the check script),
patch 3 adds the same option for the tests done in bash.

This series is tested on the previous serie
"qemu-iotests: quality of life improvements"
but independent from it, so it can be applied separately.

Emanuele Giuseppe Esposito (3):
  python: qemu: add timer parameter for qmp.accept socket
  qemu-iotests: add option to attach gdbserver
  qemu-iotests: add gdbserver option to script tests too

 python/qemu/machine.py        |  8 +++++---
 python/qemu/qtest.py          |  8 +++++---
 tests/qemu-iotests/check      |  5 ++++-
 tests/qemu-iotests/common.rc  |  8 +++++++-
 tests/qemu-iotests/iotests.py |  7 ++++++-
 tests/qemu-iotests/testenv.py | 15 +++++++++++++--
 6 files changed, 40 insertions(+), 11 deletions(-)

-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]