All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] migration-test: Plumbing
@ 2026-03-11 21:34 Fabiano Rosas
  2026-03-11 21:34 ` [PATCH v2 1/5] tests/qtest/migration: Fix leak of migration tests data Fabiano Rosas
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Fabiano Rosas @ 2026-03-11 21:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Xu, Peter Maydell, Prasad Pandit

Fix leaks. A couple of normal ones and a few that happen due to a test
expecting failure in the destination side, but 'exit-on-error' is set
so the coroutine just exits the entire process while a few resources
are still allocated, but outside of the scope of the migration code.

For v2 I set exit-on-error unconditionally in migration-test. The QEMU
process should never return 1 anymore.

I also removed the cleanup patches because they are no longer strictly
necessary, I'll add them for the next release cyle to keep the changes
during the freeze restricted to what is necessary to fix the bugs.

CI run: https://gitlab.com/farosas/qemu/-/pipelines/2379240537
--enable-asan --enable-ubsan build is clean for x86_64 migration-test --full

v1:
cover: https://lore.kernel.org/r/20260310142134.15137-1-farosas@suse.de
series: https://lore.kernel.org/r/20260310135540.8679-1-farosas@suse.de

Fabiano Rosas (5):
  tests/qtest/migration: Fix leak of migration tests data
  io: Fix TLS bye task leak
  tests/qtest/migration: Fix leak in CPR exec test
  migration/multifd: Fix leaks of TLS error objects
  tests/qtest/migration: Force exit-on-error=false

 io/channel-tls.c                       |  4 +++-
 migration/migration.c                  |  5 +++++
 migration/multifd.c                    | 27 ++++++++++++--------------
 tests/qtest/dbus-vmstate-test.c        |  5 +++--
 tests/qtest/migration/cpr-tests.c      |  5 +++--
 tests/qtest/migration/framework.c      |  7 +++----
 tests/qtest/migration/framework.h      |  2 --
 tests/qtest/migration/migration-qmp.c  |  6 ++++++
 tests/qtest/migration/migration-util.c | 19 +++++++++++++-----
 tests/qtest/migration/migration-util.h |  2 +-
 tests/qtest/migration/misc-tests.c     |  4 ++--
 tests/qtest/migration/precopy-tests.c  | 12 +++++-------
 tests/qtest/migration/tls-tests.c      | 14 +++++++------
 13 files changed, 65 insertions(+), 47 deletions(-)

-- 
2.51.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-03-13  5:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 21:34 [PATCH v2 0/5] migration-test: Plumbing Fabiano Rosas
2026-03-11 21:34 ` [PATCH v2 1/5] tests/qtest/migration: Fix leak of migration tests data Fabiano Rosas
2026-03-11 21:34 ` [PATCH v2 2/5] io: Fix TLS bye task leak Fabiano Rosas
2026-03-11 21:34 ` [PATCH v2 3/5] tests/qtest/migration: Fix leak in CPR exec test Fabiano Rosas
2026-03-11 21:34 ` [PATCH v2 4/5] migration/multifd: Fix leaks of TLS error objects Fabiano Rosas
2026-03-11 21:34 ` [PATCH v2 5/5] tests/qtest/migration: Force exit-on-error=false Fabiano Rosas
2026-03-11 22:53   ` Peter Xu
2026-03-12 10:50   ` Prasad Pandit
2026-03-12 13:48     ` Fabiano Rosas
2026-03-13  5:01       ` Prasad Pandit
2026-03-12 16:17 ` [PATCH v2 0/5] migration-test: Plumbing Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.