qtest: Fix some memory issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests/qtest/migration: Do proper cleanup in the dirty_limit testtests/ | +5 | 1 reply | |
| 2/6 | tests/qtest/migration: Initialize buffer in probe_o_direct_supporttests/ | +1 | 2 replies | |
| 3/6 | tests/qtest/bios-tables-test: Free tables at dump_aml_filestests/ | +1 | 1 reply | |
| 4/6 | tests/qtest/virtio-iommu-test: Don't pass uninitialized data into qtest_memwritetests/ | +2 | 1 reply | |
| 5/6 | tests/qtest/qos-test: Plug a couple of leakstests/ | +25 | 0 replies | |
| 6/6 | tests/qtest/test-x86-cpuid-compat: Free allocated memorytests/ | +4 | 0 replies |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Peter Xu |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | R-b |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] qtest: Fix some memory issues
I'm trying to get the qtests to run with asan/valgrind without any warnings so I can run a test before every PR. Here are a few fixes.
CI run: https://gitlab.com/farosas/qemu/-/pipelines/1580782506
Fabiano Rosas (6):
tests/qtest/migration: Do proper cleanup in the dirty_limit test tests/qtest/migration: Initialize buffer in probe_o_direct_support tests/qtest/bios-tables-test: Free tables at dump_aml_files tests/qtest/virtio-iommu-test: Don't pass uninitialized data into
qtest_memwrite
tests/qtest/qos-test: Plug a couple of leaks tests/qtest/test-x86-cpuid-compat: Free allocated memory
tests/qtest/bios-tables-test.c | 1 + tests/qtest/migration-helpers.c | 1 + tests/qtest/migration-test.c | 5 +++++ tests/qtest/qos-test.c | 35 ++++++++++++++++++++--------- tests/qtest/test-x86-cpuid-compat.c | 4 ++++ tests/qtest/virtio-iommu-test.c | 4 ++-- 6 files changed, 38 insertions(+), 12 deletions(-)
Signature · 1 line
2.35.3