[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] qtest: Fix some memory issues
From: |
Fabiano Rosas |
Subject: |
[PATCH 0/6] qtest: Fix some memory issues |
Date: |
Mon, 9 Dec 2024 17:44:21 -0300 |
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(-)
--
2.35.3
- [PATCH 0/6] qtest: Fix some memory issues,
Fabiano Rosas <=
- [PATCH 1/6] tests/qtest/migration: Do proper cleanup in the dirty_limit test, Fabiano Rosas, 2024/12/09
- [PATCH 2/6] tests/qtest/migration: Initialize buffer in probe_o_direct_support, Fabiano Rosas, 2024/12/09
- [PATCH 3/6] tests/qtest/bios-tables-test: Free tables at dump_aml_files, Fabiano Rosas, 2024/12/09
- [PATCH 5/6] tests/qtest/qos-test: Plug a couple of leaks, Fabiano Rosas, 2024/12/09
- [PATCH 6/6] tests/qtest/test-x86-cpuid-compat: Free allocated memory, Fabiano Rosas, 2024/12/09
- [PATCH 4/6] tests/qtest/virtio-iommu-test: Don't pass uninitialized data into qtest_memwrite, Fabiano Rosas, 2024/12/09