mbox

[PULL,00/17] testing and gdbstub updates

Message ID 20250210161451.3273284-1-alex.bennee@linaro.org
State New
Headers show

Pull-request

https://gitlab.com/stsquad/qemu.git tags/pull-10.0-testing-and-gdstub-updates-100225-1

Message

Alex Bennée Feb. 10, 2025, 4:14 p.m. UTC
The following changes since commit 04d3d0e9f54d4c42759f3810aa135ce314d98dc4:

  Merge tag 'hppa-system-for-v10-diva-artist-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2025-02-08 09:00:57 -0500)

are available in the Git repository at:

  https://gitlab.com/stsquad/qemu.git tags/pull-10.0-testing-and-gdstub-updates-100225-1

for you to fetch changes up to 24c61663dcec0e87bb4206a7623f0e222e188b47:

  tests/tcg: Add late gdbstub attach test (2025-02-10 13:47:59 +0000)

----------------------------------------------------------------
testing and gdbstub updates:

  - add a check-rust test to docker builds
  - re-factor the qtest logic to be cleaner
  - fix tests to not clock_step when no timers enabled
  - roll-up log prefix into qtest_send
  - cleaner error reporting when qtest_clock_set fails
  - revert old deadlock fix now tests are updated
  - only run full set of migration tests under HW acceleration
  - support late attachment to user-mode gdbstubs

----------------------------------------------------------------
Alex Bennée (7):
      tests/docker: replicate the check-rust-tools-nightly CI job
      tests/qtest: don't attempt to clock_step while waiting for virtio ISR
      tests/qtest: don't step clock at start of npcm7xx periodic IRQ test
      tests/qtest: simplify qtest_process_inbuf
      tests/qtest: rename qtest_send_prefix and roll-up into qtest_send
      tests/qtest: tighten up the checks on clock_step
      Revert "util/timer: avoid deadlock when shutting down"

Fabiano Rosas (2):
      tests/qtest/migration: Add --full option
      tests/qtest/migration: Pick smoke tests

Ilya Leoshkevich (8):
      gdbstub: Allow the %d placeholder in the socket path
      gdbstub: Try unlinking the unix socket before binding
      user: Introduce user/signal.h
      user: Introduce host_interrupt_signal
      osdep: Introduce qemu_kill_thread()
      gdbstub: Allow late attachment
      docs/user: Document the %d placeholder and suspend=n QEMU_GDB features
      tests/tcg: Add late gdbstub attach test

 MAINTAINERS                                |   1 +
 docs/user/main.rst                         |  16 ++-
 bsd-user/signal-common.h                   |   1 -
 include/qemu/osdep.h                       |   9 ++
 include/system/qtest.h                     |   1 -
 include/user/signal.h                      |  25 +++++
 linux-user/signal-common.h                 |   1 -
 tests/qtest/migration/framework.h          |   1 +
 bsd-user/main.c                            |   1 -
 bsd-user/signal.c                          |  13 +++
 gdbstub/user.c                             | 150 ++++++++++++++++++++++-------
 hw/ppc/spapr_rtas.c                        |   1 -
 hw/riscv/riscv_hart.c                      |   1 -
 linux-user/main.c                          |   1 -
 linux-user/signal.c                        |  26 ++++-
 linux-user/syscall.c                       |   1 +
 stubs/monitor-fd.c                         |   9 ++
 system/qtest.c                             |  59 +++++-------
 tests/qtest/libqos/virtio-pci-modern.c     |   6 +-
 tests/qtest/libqos/virtio-pci.c            |   6 +-
 tests/qtest/migration-test.c               |  25 +++++
 tests/qtest/migration/compression-tests.c  |  15 ++-
 tests/qtest/migration/cpr-tests.c          |   6 ++
 tests/qtest/migration/file-tests.c         |  19 +++-
 tests/qtest/migration/misc-tests.c         |  16 ++-
 tests/qtest/migration/postcopy-tests.c     |  14 ++-
 tests/qtest/migration/precopy-tests.c      |  23 +++--
 tests/qtest/migration/tls-tests.c          |  14 ++-
 tests/qtest/npcm7xx_timer-test.c           |   1 -
 tests/tcg/multiarch/late-attach.c          |  41 ++++++++
 util/oslib-posix.c                         |  15 +++
 util/qemu-timer.c                          |  16 +--
 stubs/meson.build                          |   2 +
 tests/docker/Makefile.include              |   3 +
 tests/docker/test-rust                     |  21 ++++
 tests/guest-debug/run-test.py              |  15 ++-
 tests/qtest/meson.build                    |  11 ++-
 tests/tcg/multiarch/Makefile.target        |   9 +-
 tests/tcg/multiarch/gdbstub/late-attach.py |  28 ++++++
 util/meson.build                           |   2 +
 40 files changed, 490 insertions(+), 135 deletions(-)
 create mode 100644 include/user/signal.h
 create mode 100644 stubs/monitor-fd.c
 create mode 100644 tests/tcg/multiarch/late-attach.c
 create mode 100755 tests/docker/test-rust
 create mode 100644 tests/tcg/multiarch/gdbstub/late-attach.py

Comments

Stefan Hajnoczi Feb. 11, 2025, 2:37 a.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/10.0 for any user-visible changes.