All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>,
	 svt-core@virtuozzo.com
Cc: alexander.ivanov@virtuozzo.com, andrey.zhadchenko@virtuozzo.com,
	 den@openvz.org
Subject: Re: [PATCH hci-8.1 / hci-8.2 2/5] vhost-blk: drop dead NULL check of the vm state handler
Date: Thu, 19 Nov 2026 17:11:24 +0000	[thread overview]
Message-ID: <010701a1f4caa6b3-e7d9c1c9-68f9-4d6f-8b9b-653c628d06b3-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261119170855.472905-3-andrey.drobyshev@virtuozzo.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] vhost-blk: Fixes: trailer on a pure-cleanup commit removing dead
  code
--

commit c455357faa99190cb0ae75b5f796ae404b6e9291
Author: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>

> vhost-blk: drop dead NULL check of the vm state handler
>
> qemu_add_vm_change_state_handler() never returns NULL, so the check
> cannot fire.  Drop it.
>
> Pure cleanup, no functional change.
>
> Fixes: d31b67263a21 ("hw/block/vhost-blk: support migration #PSBM-152243")
> Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>

[Severity: Low]
Should this Fixes: tag be there? The message calls this a pure cleanup with no functional change. The removed "if (!s->mighand) goto cleanup;" was unreachable, so d31b67263a21 ("hw/block/vhost-blk: support migration #PSBM-152243") left no bug to fix. A Fixes: tag normally marks a bug fix for stable and backport tooling, and here it contradicts the message. Could the tag be dropped, or the message reworded to say what is being fixed?

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/20261119170855.472905-1-andrey.drobyshev@virtuozzo.com?part=2

  reply	other threads:[~2026-11-19 17:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 17:08 [PATCH hci-8.1 / hci-8.2 0/5] vhost-blk: a bunch of cleanups and small fixes Andrey Drobyshev
2026-11-19 17:08 ` [PATCH hci-8.1 / hci-8.2 1/5] vhost-blk: drop redundant vhost_blk_stop() call Andrey Drobyshev
2026-11-19 17:11   ` no-reply
2026-11-19 17:08 ` [PATCH hci-8.1 / hci-8.2 2/5] vhost-blk: drop dead NULL check of the vm state handler Andrey Drobyshev
2026-11-19 17:11   ` no-reply [this message]
2026-11-19 17:08 ` [PATCH hci-8.1 / hci-8.2 3/5] vhost-blk: fix vqs leak on unrealize Andrey Drobyshev
2026-11-19 17:12   ` no-reply
2026-11-19 17:08 ` [PATCH hci-8.1 / hci-8.2 4/5] vhost-blk: stop the device " Andrey Drobyshev
2026-11-19 17:13   ` no-reply
2026-11-19 17:08 ` [PATCH hci-8.1 / hci-8.2 5/5] vhost-blk: don't leak the vhost fd across cpr-exec Andrey Drobyshev
2026-11-19 17:13   ` no-reply
2026-11-20 12:36 ` [PATCH hci-8.1 / hci-8.2 0/5] vhost-blk: a bunch of cleanups and small fixes Andrey Zhadchenko

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=010701a1f4caa6b3-e7d9c1c9-68f9-4d6f-8b9b-653c628d06b3-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=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.