Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1addf57177a5646f86ede4eee385932b0214ab72
      
https://github.com/qemu/qemu/commit/1addf57177a5646f86ede4eee385932b0214ab72
  Author: Ivan Klokov <[email protected]>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M hw/riscv/riscv_hart.c
    M tests/qtest/libqtest.c
    M tests/qtest/libqtest.h

  Log Message:
  -----------
  target/riscv: Add RISC-V CSR qtest support

The RISC-V architecture supports the creation of custom
CSR-mapped devices. It would be convenient to test them in the same way
as MMIO-mapped devices. To do this, a new call has been added
to read/write CSR registers.

Signed-off-by: Ivan Klokov <[email protected]>
Acked-by: Fabiano Rosas <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Signed-off-by: Fabiano Rosas <[email protected]>


  Commit: b4a91c5e710e42d95cca891496a6047de56aa535
      
https://github.com/qemu/qemu/commit/b4a91c5e710e42d95cca891496a6047de56aa535
  Author: Ivan Klokov <[email protected]>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M tests/qtest/meson.build
    A tests/qtest/riscv-csr-test.c

  Log Message:
  -----------
  tests/qtest: QTest example for RISC-V CSR register

Added demo for reading CSR register from qtest environment.

Signed-off-by: Ivan Klokov <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Acked-by: Alistair Francis <[email protected]>
Signed-off-by: Fabiano Rosas <[email protected]>


  Commit: 99baa5d921e7414c83444c379510c6aad5c023a7
      
https://github.com/qemu/qemu/commit/99baa5d921e7414c83444c379510c6aad5c023a7
  Author: Juraj Marcin <[email protected]>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M tests/qtest/libqtest.c
    M tests/qtest/libqtest.h

  Log Message:
  -----------
  tests/qtest: Introduce qtest_init_with_env_and_capabilities()

This patch adds a new version of qtest_init_with_env() that allows
specifying QMP capabilities that should be enabled during handshake.
This is useful for example if a test needs out-of-band execution of QMP
commands, it can initialize with the oob capability.

Signed-off-by: Juraj Marcin <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Fabiano Rosas <[email protected]>


  Commit: 3dec966f2798ebee41fc82fe4d1036d907ec51a4
      
https://github.com/qemu/qemu/commit/3dec966f2798ebee41fc82fe4d1036d907ec51a4
  Author: Juraj Marcin <[email protected]>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M tests/qtest/migration/framework.c
    M tests/qtest/migration/framework.h
    M tests/qtest/migration/migration-qmp.c

  Log Message:
  -----------
  tests/qtest/migration: Use out-of-band execution for migrate-recover

In real use cases, the migrate-recover command requires out-of-band
execution, because the thread processing normal commands is blocked by a
page fault in the guest memory. With this change, the tests will be
closer to real use cases and could help detect regressions and other
bugs in migration recovery.

Signed-off-by: Juraj Marcin <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Fabiano Rosas <[email protected]>


  Commit: aa601bd4f1208d85906f7778679c57d91cef6c70
      
https://github.com/qemu/qemu/commit/aa601bd4f1208d85906f7778679c57d91cef6c70
  Author: Thomas Huth <[email protected]>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M tests/qtest/test-x86-cpuid-compat.c

  Log Message:
  -----------
  tests/qtest/test-x86-cpuid-compat: Remove tests related to pc-i440fx-2.3

The pc-i440fx-2.3 machine type has been removed in commit 46a2bd5257
("hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine") already, so
these tests are just dead code by now.

Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Fabiano Rosas <[email protected]>


  Commit: 20fac491cfeebb042f59cc61ae76fed1b397d25c
      
https://github.com/qemu/qemu/commit/20fac491cfeebb042f59cc61ae76fed1b397d25c
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-01-18 (Sat, 18 Jan 2025)

  Changed paths:
    M hw/riscv/riscv_hart.c
    M tests/qtest/libqtest.c
    M tests/qtest/libqtest.h
    M tests/qtest/meson.build
    M tests/qtest/migration/framework.c
    M tests/qtest/migration/framework.h
    M tests/qtest/migration/migration-qmp.c
    A tests/qtest/riscv-csr-test.c
    M tests/qtest/test-x86-cpuid-compat.c

  Log Message:
  -----------
  Merge tag 'qtest-20250117-pull-request' of https://gitlab.com/farosas/qemu 
into staging

Qtest pull request

- RISCV CSR test
- migration recover changed to OOB
- removal of dead code in test-x86-cpuid-compat

# -----BEGIN PGP SIGNATURE-----
#
# iQJEBAABCAAuFiEEqhtIsKIjJqWkw2TPx5jcdBvsMZ0FAmeKbx4QHGZhcm9zYXNA
# c3VzZS5kZQAKCRDHmNx0G+wxnRD7D/9v4ovvGn/IwSXjjpOpkjhCSgV8TMi1F61P
# hqB5TTCY8yejvT7JauplMUHmcJsVCNx+HF36D+YjxBjqrhQE8vzPRXgcLxHL9RX4
# Kwgdk24kFKADE3gsiys9gOpwRhmtY0/2CT5LvitfJRMxUNPtm0Mr7qM3Z0Taeusu
# lxZgIMTBeNakpY5vua8nlLQ4r+/Df6S3TFFAaQ4UYab/T5zHVcjKaySXDlT1QXpp
# M+Be21jPxuUYJnKCSxMCUtuY9wkSPcITzJW91V+JxL9STSpsKpnQe10JWDRbwLBt
# /am2Jg5f8iFEblCwr5aQRMwXB+e/Y7K4qKPOUalj+weGnCXh9DmWPXnV6qzdZNO8
# sePKoFj1AMtqbVf3iOpDBRkH8dECiDh1jHmflW1grF0BuOwOw8dKYW+i2qz9ZDiW
# rKWKfRcZZ059aOCQWqpMC9TGQ8osMC/v6GGJwiPBDLapGjnAm5d1683w4Z1l8tAg
# vf9yti2mpzK15PB6doEj/IuZr8WKWFMklizmMMZpXgHIUpjtm3JFKXX/jGHcD3KU
# E8F4ns3zPMlq7ncIwc6GADRB3XzEuzzuXAaEO8HMN0fYHevfnFIon749udyBDI/n
# a1/CTzTmchItwzgpdvcoiKO6gkg6DO9n08QULCMPSVCtl5KAlz5yuwxWGI/rM6u7
# ixPi8i24oA==
# =i4AD
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 17 Jan 2025 09:54:22 EST
# gpg:                using RSA key AA1B48B0A22326A5A4C364CFC798DC741BEC319D
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Fabiano Rosas <[email protected]>" [unknown]
# gpg:                 aka "Fabiano Almeida Rosas <[email protected]>" 
[unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: AA1B 48B0 A223 26A5 A4C3  64CF C798 DC74 1BEC 319D

* tag 'qtest-20250117-pull-request' of https://gitlab.com/farosas/qemu:
  tests/qtest/test-x86-cpuid-compat: Remove tests related to pc-i440fx-2.3
  tests/qtest/migration: Use out-of-band execution for migrate-recover
  tests/qtest: Introduce qtest_init_with_env_and_capabilities()
  tests/qtest: QTest example for RISC-V CSR register
  target/riscv: Add RISC-V CSR qtest support

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/0e3aff9ec340...20fac491cfee

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to