qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance
@ 2021-04-01 13:57 Emanuele Giuseppe Esposito
  2021-04-01 13:57 ` [RFC PATCH 1/3] python: qemu: add timer parameter for qmp.accept socket Emanuele Giuseppe Esposito
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Emanuele Giuseppe Esposito @ 2021-04-01 13:57 UTC (permalink / raw)
  To: qemu-block
  Cc: Kevin Wolf, Emanuele Giuseppe Esposito, Eduardo Habkost,
	qemu-devel, Max Reitz, Cleber Rosa, John Snow

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-01 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 13:57 [RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance Emanuele Giuseppe Esposito
2021-04-01 13:57 ` [RFC PATCH 1/3] python: qemu: add timer parameter for qmp.accept socket Emanuele Giuseppe Esposito
2021-04-01 13:57 ` [RFC PATCH 2/3] qemu-iotests: add option to attach gdbserver Emanuele Giuseppe Esposito
2021-04-01 13:57 ` [RFC PATCH 3/3] qemu-iotests: add gdbserver option to script tests too Emanuele Giuseppe Esposito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).