All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabiano Rosas <farosas@suse.de>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>, Peter Xu <peterx@redhat.com>
Subject: Re: [PATCH 0/8] migration-test: Plumbing
Date: Tue, 10 Mar 2026 11:36:02 -0300	[thread overview]
Message-ID: <87eclr21m5.fsf@suse.de> (raw)
In-Reply-To: <20260310142134.15137-1-farosas@suse.de>

Fabiano Rosas <farosas@suse.de> writes:

> 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=true so
> the coroutine just exits the entire process while a few resources are
> still allocated, but outside of the scope of the migration code.
>
> I brought a couple of cleanup patches from another in-flight series to
> be able to force-set exit-on-error=false for the tests that are
> causing leaks, that way we don't need to complicate the migration
> cleanup code trying to reach into other subsystems to free memory when
> QEMU is already exiting.
>
> CI run: https://gitlab.com/farosas/qemu/-/pipelines/2375586934
>
> --enable-asan --enable-ubsan build is clean for x86_64 migration-test --full
>
> Fabiano Rosas (8):
>   tests/qtest/migration: Fix leak of migration tests data
>   tests/qtest/migration: Change validate_uuid test to not trigger
>     exit(1)
>   tests/qtest/migration: Fix misuse of listen_uri
>   tests/qtest/migration: Stop invoking migrate_incoming from hooks
>   tests/qtest/migration: Force exit-on-error=false when appropriate
>   io: Fix TLS bye task leak
>   tests/qtest/migration: Fix leak in CPR exec test
>   migration/multifd: Fix leaks of TLS error objects
>
>  io/channel-tls.c                          |  4 ++-
>  migration/migration.c                     |  5 +++
>  migration/multifd.c                       | 27 +++++++--------
>  tests/qtest/migration/colo-tests.c        |  8 ++++-
>  tests/qtest/migration/compression-tests.c | 18 ++++++----
>  tests/qtest/migration/cpr-tests.c         | 25 +++++++++-----
>  tests/qtest/migration/file-tests.c        | 41 ++++++++++++++++-------
>  tests/qtest/migration/framework.c         | 31 ++++++++++++-----
>  tests/qtest/migration/framework.h         |  7 ++++
>  tests/qtest/migration/migration-util.c    | 19 ++++++++---
>  tests/qtest/migration/migration-util.h    |  2 +-
>  tests/qtest/migration/misc-tests.c        |  8 ++---
>  tests/qtest/migration/precopy-tests.c     | 21 +++++++-----
>  tests/qtest/migration/tls-tests.c         | 30 +++++++++++------
>  14 files changed, 165 insertions(+), 81 deletions(-)

Sorry if this breaks the thread, but I left the cover letter behind by
mistake.

Rest of the series is:

[PATCH 1/8] tests/qtest/migration: Fix leak of migration tests data
20260310135540.8679-1-farosas@suse.de
https://lore.kernel.org/r/20260310135540.8679-1-farosas@suse.de


      reply	other threads:[~2026-03-10 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-10 14:21 [PATCH 0/8] migration-test: Plumbing Fabiano Rosas
2026-03-10 14:36 ` Fabiano Rosas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eclr21m5.fsf@suse.de \
    --to=farosas@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.