[PATCH v3 00/10] Various ASAN & tests fixes

Marc-André Lureau posted 10 patches 1 day, 9 hours ago
backends/igvm.c                         | 99 ++++++++++++++++++++-------------
hw/s390x/ipl.c                          | 10 ++--
include/glib-compat.h                   |  8 +--
include/system/igvm-internal.h          |  9 +--
migration/savevm.c                      |  3 +
tests/qtest/exynos4210_uart_fifo-test.c |  6 +-
tests/qtest/launchupdate-test.c         | 20 +++----
tests/qtest/libqos/libqos.h             |  2 +
tests/qtest/xilinx-zynq-sdhci-test.c    |  6 +-
9 files changed, 91 insertions(+), 72 deletions(-)
[PATCH v3 00/10] Various ASAN & tests fixes
Posted by Marc-André Lureau 1 day, 9 hours ago
Hi,

A collection of leak-related fixes.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
Changes in v3:
- add "migration: tolerate NULL ram_block in vmstate_unregister_ram()"
  to fix qom-test crash with IgvmMemoryRegion
- collect some trailers
- Link to v2: https://lore.kernel.org/qemu-devel/20261021-nohmp-next-v2-0-85471fca83db@redhat.com

Changes in v2:
- add "tests/exynos4210_uart_fifo-test: fix buffer leaks"
- add "tests/xilinx-zynq-sdhci-test: fix GIOChannel leak"
- add "glib-compat: fix g_autofd fallback warnings"
- rebased, collect trailer tags
- Link to v1: https://lore.kernel.org/qemu-devel/20260906-nohmp-next-v1-0-2b21e63974f3@redhat.com

---
Marc-André Lureau (10):
      tests/launchupdate-test: correct g_auto usage
      tests/launchupdate-test: correctly release qs
      tests/launchupdate-test: fix fw_cfg leak
      igvm: release found memory region on success
      migration: tolerate NULL ram_block in vmstate_unregister_ram()
      igvm: make IgvmMemoryRegion a QOM
      hw/s390x/ipl: fix short SCSI loadparm buffer over-read
      glib-compat: fix g_autofd fallback warnings
      tests/exynos4210_uart_fifo-test: fix buffer leaks
      tests/xilinx-zynq-sdhci-test: fix GIOChannel leak

 backends/igvm.c                         | 99 ++++++++++++++++++++-------------
 hw/s390x/ipl.c                          | 10 ++--
 include/glib-compat.h                   |  8 +--
 include/system/igvm-internal.h          |  9 +--
 migration/savevm.c                      |  3 +
 tests/qtest/exynos4210_uart_fifo-test.c |  6 +-
 tests/qtest/launchupdate-test.c         | 20 +++----
 tests/qtest/libqos/libqos.h             |  2 +
 tests/qtest/xilinx-zynq-sdhci-test.c    |  6 +-
 9 files changed, 91 insertions(+), 72 deletions(-)
---
base-commit: 8967b2fe1b2aaae3c29e207d85fab901d580a2dc
change-id: 20260906-nohmp-next-771b029cc0f2

Best regards,
--  
Marc-André Lureau <marcandre.lureau@redhat.com>