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

Emanuele Giuseppe Esposito posted 3 patches 2 years, 12 months ago
Failed in applying to current master (apply log)
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(-)
[RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance
Posted by Emanuele Giuseppe Esposito 2 years, 12 months ago
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