All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
To: "Denis V. Lunev" <den@openvz.org>, svt-core@virtuozzo.com
Subject: Re: [PATCH hci-8.1/hci-dev 0/2] migration: fix a source hang on cancel before the channel connects #VSTOR-155277
Date: Wed, 25 Nov 2026 22:14:06 +0200	[thread overview]
Message-ID: <e1b60b9a-aefd-491b-b306-0739384712fc@virtuozzo.com> (raw)
In-Reply-To: <20261125193204.1424799-1-den@openvz.org>

Ack
Applied onto hci-8.1 and hci-dev

On 11/25/26 9:32 PM, Denis V. Lunev wrote:
> Cancelling a migration right after starting it can hang the source
> QEMU forever. This happens when the cancel arrives while the source is
> still connecting to the destination and the connection then succeeds.
> The source goes on as if nothing was cancelled, then waits for a reply
> from the destination that never comes. It waits with the BQL held, so
> the monitor stops answering too, and the only way out is to kill the
> source. The hci-8.1 autotests hit it three times in
> test_abort_live_migration_immediate: VSTOR-155277, VSTOR-156593 and
> VSTOR-156857.
> 
> The same two patches go to qemu-devel. Here the test is adapted to the
> older qtest framework.
> 
> Denis V. Lunev (2):
>   migration: fix source hang on cancel before the channel connects
>     #VSTOR-155277
>   tests/qtest/migration: test cancel before the channel connects
>     #VSTOR-155277
> 
>  migration/channel.c                   |  6 +++
>  migration/migration.c                 |  2 +-
>  migration/migration.h                 |  1 +
>  tests/qtest/migration/precopy-tests.c | 67 +++++++++++++++++++++++++++
>  4 files changed, 75 insertions(+), 1 deletion(-)
> 
> 
> base-commit: 042da14bb2ceec27fe0680c3aca300395ba0072c
> --
> 2.55.0
> 


      parent reply	other threads:[~2026-11-25 20:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 19:32 Denis V. Lunev
2026-11-25 19:32 ` [PATCH hci-8.1 1/2] migration: fix " Denis V. Lunev
2026-12-01  0:30   ` no-reply
2026-11-25 19:32 ` [PATCH hci-8.1 2/2] tests/qtest/migration: test " Denis V. Lunev
2026-12-01  0:31   ` no-reply
2026-11-25 20:14 ` Andrey Drobyshev [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=e1b60b9a-aefd-491b-b306-0739384712fc@virtuozzo.com \
    --to=andrey.drobyshev@virtuozzo.com \
    --cc=den@openvz.org \
    --cc=svt-core@virtuozzo.com \
    /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.