From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
To: qemu-block@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
Emanuele Giuseppe Esposito <eesposit@redhat.com>,
Eduardo Habkost <ehabkost@redhat.com>,
qemu-devel@nongnu.org, Max Reitz <mreitz@redhat.com>,
Cleber Rosa <crosa@redhat.com>, John Snow <jsnow@redhat.com>
Subject: [RFC PATCH 0/3] qemu-iotests: attach gdbserver to qemu instance
Date: Thu, 1 Apr 2021 15:57:30 +0200 [thread overview]
Message-ID: <20210401135733.32177-1-eesposit@redhat.com> (raw)
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
next reply other threads:[~2021-04-01 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 13:57 Emanuele Giuseppe Esposito [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210401135733.32177-1-eesposit@redhat.com \
--to=eesposit@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).