From: no-reply@sashiko.virtuozzo.com
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>,
andrey.zhadchenko@virtuozzo.com
Cc: andrey.drobyshev@virtuozzo.com, svt-core@virtuozzo.com
Subject: Re: [PATCH hci-8.2 v3 3/5] vhost-blk: stop vhost on every VM stop #VSTOR-152175
Date: Tue, 1 Dec 2026 00:58:21 +0000 [thread overview]
Message-ID: <010701a22f1c1d90-1c286f4b-6474-4797-a7d4-8e437826b136-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261130094210.1686802-4-alexander.ivanov@virtuozzo.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] vhost-blk: bug-fix commit lacks a Fixes: trailer
--
commit e71551fedc73f702d64432e0da34c0e1ff494f27
Author: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
> vhost-blk: stop vhost on every VM stop #VSTOR-152175
>
> vhost is stopped only on pause and at the end of a migration. In any
> other stopped state it keeps running in the kernel, so the device
> state saved there is stale: vhost_dev_stop(), which fetches the vring
> indexes from the kernel, has not run.
>
> This affects savevm, which stops the VM with the save-vm reason, and
> a migration of a VM stopped for debug, shutdown, a guest panic or a
> watchdog: the VM is not live, so the migration does not run the state
> handlers again. The destination then processes anew the requests the
> source completed after the indexes were last fetched.
>
> Stop vhost whenever the VM stops and start it whenever the VM runs.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-152175
>
> Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
[Severity: Low]
This looks like a bug fix for the state-based start/stop filtering in
vhost_blk_vm_state(). Should this include:
Fixes: c08e1fb19635 ("vhost_blk: support state saving #VSTOR-90838")
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261130094210.1686802-1-alexander.ivanov@virtuozzo.com?part=3
next prev parent reply other threads:[~2026-12-01 0:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:42 [PATCH hci-8.2 v3 0/5] vhost-blk: support the werror/rerror policies Alexander Ivanov
2026-11-30 9:42 ` [PATCH hci-8.2 v3 1/5] linux-headers: add the vhost-blk held request ioctls #VSTOR-152175 Alexander Ivanov
2026-12-01 0:53 ` no-reply
2026-12-01 9:03 ` Alexander Ivanov
2026-11-30 9:42 ` [PATCH hci-8.2 v3 2/5] vhost-blk: add the werror and rerror properties #VSTOR-152175 Alexander Ivanov
2026-12-01 0:54 ` no-reply
2026-11-30 9:42 ` [PATCH hci-8.2 v3 3/5] vhost-blk: stop vhost on every VM stop #VSTOR-152175 Alexander Ivanov
2026-12-01 0:58 ` no-reply [this message]
2026-12-01 9:07 ` Alexander Ivanov
2026-11-30 9:42 ` [PATCH hci-8.2 v3 4/5] vhost-blk: pause the VM on a request failed with ENOSPC #VSTOR-152175 Alexander Ivanov
2026-12-01 1:07 ` no-reply
2026-12-01 9:14 ` Alexander Ivanov
2026-11-30 9:42 ` [PATCH hci-8.2 v3 5/5] vhost-blk: migrate the held requests #VSTOR-152175 Alexander Ivanov
2026-12-01 1:10 ` no-reply
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=010701a22f1c1d90-1c286f4b-6474-4797-a7d4-8e437826b136-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=andrey.drobyshev@virtuozzo.com \
--cc=andrey.zhadchenko@virtuozzo.com \
--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.