Fix leaks reached by make check-qtest
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tests/qtest: Don't dup machine name in qtest_cb_for_every_machine callbackstests/ tests/ tests/ | +7 | 1 reply | |
| 2/4 | tests/qtest/test-hmp: Free machine optionstests/ | +2 | 1 reply | |
| 3/4 | target/riscv: Don't leak general_user_optstarget/ | +1 | 5 replies | |
| 4/4 | hw/riscv: Free resources allocated at riscv_iommu_instance_inithw/ | +13 | 4 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Henrique Barboza | Philippe Mathieu-Daudé |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/4] Fix leaks reached by make check-qtest
../configure --enable-asan --enable-ubsan \ --target-list=\ x86_64-softmmu,i386-softmmu,\ aarch64-softmmu,arm-softmmu,\ ppc64-softmmu,\ s390x-softmmu,\ riscv64-softmmu,\ loongarch64-softmmu,\ sparc-softmmu,sparc64-softmmu
make -j$(nproc) TIMEOUT_MULTIPLIER=2 check-qtest-$TARGET
(running all targets at once triggers timeouts even with 3x multiplier, bios-tables-test also has it's own timeout of 600s at qtest/acpi-utils.c)
Tested on top of the migration-test fixes:
https://lore.kernel.org/r/[email protected]
CI run on top of master:
https://gitlab.com/farosas/qemu/-/pipelines/2383870717
Fabiano Rosas (4):
tests/qtest: Don't dup machine name in qtest_cb_for_every_machine
callbacks
tests/qtest/test-hmp: Free machine options target/riscv: Don't leak general_user_opts
hw/riscv: Free resources allocated at riscv_iommu_instance_init
hw/riscv/riscv-iommu.c | 16 +++++++++++++--- target/riscv/cpu.c | 3 +-- tests/qtest/cpu-plug-test.c | 11 +++++------ tests/qtest/qom-test.c | 3 +-- tests/qtest/test-hmp.c | 6 +++--- 5 files changed, 23 insertions(+), 16 deletions(-)
Signature · 1 line
2.51.0