From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <010701a22f1c1d90-1c286f4b-6474-4797-a7d4-8e437826b136-000000@eu-central-1.amazonses.com> Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11022090.outbound.protection.outlook.com [52.101.66.90]) by lore.virtuozzo.com (Postfix) with ESMTPS id E416A80031 for ; Tue, 1 Dec 2026 00:58:25 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=exVZChU7jEJdgeKbgODipLOIWGBBwE1Ibia0luOZOYPW2gK4xySAcEDxfkW6ru4M3kkN81HgpAytXV6XnkZFhUXuNLmmHiPhkR7J5tPVeP/kd/jEQF9XcobjtEPP7up1pVPHWMnzAeFXkkWSE8Obn3n8p4QP0/hx2r0Uf5kJPC/z4W5Wn07CQIivNb+WyzsqlpehskmUuC6+OUQySQN07dfFaoUUKJHM/Efw8lUACGjkdEtu48XzFIwJxyHphVZy8twBqmrHKhHCXWtwNV9OJ7poj2w97LNA45y2YBxo7T8a1ekc+5UbJ5Z+Y+USVN2wO4ywBDOji2Nz7FYiD2XQOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZACbigDDaJpEgzTwvVjYmncAZNSv3t3UrrEGOcz4Qdk=; b=aRLhKgIJeBpgUbQ2pBU/+gxfHSiuiV9NXrOWu+wPoo404NUcf53jcTuhJj2Da/ddVTwUieMDr/cMML5n7vuxZ3h7oi/zJEHgWoY9WutCxix69x2PZGx9p3WmWssfthKXB+S39w0NHnTCSbrUBn0G5wt8mennevbjwL56ri2pCi88J66QTVqiyIqj8E09CQxBqk6xbx4cXD5hdm1EEF7nYZ2o6vMbn7G+4IPCWYODGVLdG7WPdXcufslHm1JuRFi3zhBOLq/p9llyggtpo6BpRhSxuEqsldAoQtGhJYkvV+VB22XVDzyqJycoREsDr7NnZuJPdV2xfcnWlL5obGqmpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 69.169.224.1) smtp.rcpttodomain=virtuozzo.com smtp.mailfrom=eu-central-1.amazonses.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=sashiko.virtuozzo.com; dkim=pass (signature was verified) header.d=sashiko.virtuozzo.com; dkim=pass (signature was verified) header.d=amazonses.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.onmicrosoft.com; s=selector2-virtuozzo-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZACbigDDaJpEgzTwvVjYmncAZNSv3t3UrrEGOcz4Qdk=; b=Omd4Ru9zGiOuPc/T6SCeRFW2DaCmM5XTflLV8MxmK35+2UDDdgjqLuTGw1/1ZkfsfM5ndUiSeLSmaiYTSOVCv6xB58YGfQ/E3LtjzgsnNUE27t1H4DlrMFMBT5fCb+3eK5jgnQCkrVvjtxYphxoGnA2Bz6lt6XElMpJYrS6E9cg= Received: from MA3P292CA0012.ESPP292.PROD.OUTLOOK.COM (2603:10a6:250:2c::16) by AS2PR08MB10226.eurprd08.prod.outlook.com (2603:10a6:20b:62f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.12; Tue, 1 Dec 2026 00:58:22 +0000 Received: from MA3PEPF00000409.eurprd04.prod.outlook.com (2603:10a6:250:2c:cafe::75) by MA3P292CA0012.outlook.office365.com (2603:10a6:250:2c::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Tue, 1 Dec 2026 00:58:22 +0000 Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 69.169.224.1) smtp.mailfrom=eu-central-1.amazonses.com; dkim=pass (signature was verified) header.d=sashiko.virtuozzo.com;dkim=pass (signature was verified) header.d=amazonses.com;dmarc=pass action=none header.from=sashiko.virtuozzo.com; Received-SPF: Pass (protection.outlook.com: domain of eu-central-1.amazonses.com designates 69.169.224.1 as permitted sender) receiver=protection.outlook.com; client-ip=69.169.224.1; helo=b224-1.smtp-out.eu-central-1.amazonses.com; pr=C Received: from b224-1.smtp-out.eu-central-1.amazonses.com (69.169.224.1) by MA3PEPF00000409.mail.protection.outlook.com (10.167.241.154) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.3 via Frontend Transport; Tue, 1 Dec 2026 00:58:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=23yjbh4k34hwzfubhuiim7m4inbd3ick; d=sashiko.virtuozzo.com; t=1796086701; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=vzFNNpYMyXOFt7VES0XUINA85OsuTffpCVRyZ1yXa3U=; b=sApOEcOf/10Go7uSAwYWKttDTriCstMLg/aIhYXnRO0/vVQbW4K0DHTRylnUHw/l 1zaHLy7f8Iw2ZtLNNsbHp9NSILpqRB3Poamx7tAKBg+A+PS/Da6oOScYlirTpfkmAv2 kLf6mS7xbIQN7DxA/F4RJ2qpnR26Ap+j7/fE+zAoBqm5Cdx72NmxQTDJYLJ7lnxAiDr Ng8RxnAcTW5CL6mamkkQKfiYkHUUYXcVAyzwXiaPLsDI1fLB4shoye+dGmY8dBal7/l Hs5Q9N7vKZ/jMzfpArFcLrdqWdKIASOw+vDPsMnsruvzLaB6q/ajgUNAK2PS9XbEEtI JA+ZdUe5ow== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=qftdzk2dqsatjnlrq4r5brjbihpfcrsh; d=amazonses.com; t=1796086701; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date:Feedback-ID; bh=vzFNNpYMyXOFt7VES0XUINA85OsuTffpCVRyZ1yXa3U=; b=ld70C+bXBWcxXYuV8Dkqj6sRZQYwug2sG3Cc3JSs+22Kb2JcaM469A0XFUqcL4zO DP39++6tT3/wXRcDrrNMjBAltPIquNnDHEv3i/smqoMUae26JFMv5c4PRIl3486nQoF bwlkz0prL293awXJja263PpvfUYNG5pAUieEZY3k= Message-ID: <010701a22f1c1d90-1c286f4b-6474-4797-a7d4-8e437826b136-000000@eu-central-1.amazonses.com> From: no-reply@sashiko.virtuozzo.com Subject: Re: [PATCH hci-8.2 v3 3/5] vhost-blk: stop vhost on every VM stop #VSTOR-152175 To: Alexander Ivanov , andrey.zhadchenko@virtuozzo.com Cc: andrey.drobyshev@virtuozzo.com, svt-core@virtuozzo.com In-Reply-To: <20261130094210.1686802-4-alexander.ivanov@virtuozzo.com> References: <20261130094210.1686802-1-alexander.ivanov@virtuozzo.com> <20261130094210.1686802-4-alexander.ivanov@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 1 Dec 2026 00:58:21 +0000 Feedback-ID: ::1.eu-central-1.2wRQJBpg9g1fGRYexx3dUuYGS25Bux+2TEOx72/m6U4=:AmazonSES X-SES-Outgoing: 2026.12.01-69.169.224.1 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 0bc7f26d-0264-416e-a6fc-8352af79c58f:0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MA3PEPF00000409:EE_|AS2PR08MB10226:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 41ac5c51-a075-47d3-fffc-08df4f46325c X-LD-Processed: 0bc7f26d-0264-416e-a6fc-8352af79c58f,ExtAddr X-MS-Exchange-AtpMessageProperties: SA List-Id: svt-core@virtuozzo.com X-MS-Exchange-Transport-Rules-Loop: 1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|704161211799003|61400799027|9140799003|48200799018|32142699015|376014|10067099003|5063699009|56012099006|261026121527099003|261026140227099003|261028144727099003|261021135927099003|261021121427099003|261022105027099003|261102123227099003|261009223027099003|22082099003|18002099003|16102099003|55112099003|4143699003|4113699003|5113699003|13003099007; X-Microsoft-Antispam-Message-Info: 8+zM0epWHTPUJ22YDsDhzRtzXV1d8JsSA186I9+hBTnxoZJO5o1fipItGGxAqhqj5HUiVBgCLr9BKY/8/dRkd/sONkA5L6fMHQRJDa7PNDNaYUubsGXifm+GcKP6RqPacvdf/5f/RUhEKj9Ge+VkNbx1jMUtj76UHEdG84u1hjDwrZCEEnshEy4fmzmz6G1jQpv7TndjnOx00MRecUGGhzTeBG/wRKJSElxAmc76BkGTqFgKzi1p8f4MlcYGo36bdR+XIGdvxgO6Tlp+qPxQjqtGao/Fhqn6GDFG5TMe1x2efSBz5PZVzRYI/3HlU2EiG2KJOvhLHFW/OEXwlgBKtXaWVvyDGoYHPesjrGe5344RhQfy6k4LmzpOYqKxkxTPTcVwT+Yv7eGBPN/9xMAK6eJI5S6ZGaVL8WUCog4t2jMAKicKp2vfWcU9CbIfFvVkGgUJwVioyB2OstFy+GsG/ISJbg9g+uukYq5OO1ItKyWp77o6Bcyc2EqMYZ0tkWPkK5DL1xvW1AlpNpp2MQ98WfdJm/DXVNLu7fqGfbHlVt95O0dHjIGT/OnpLRNs7G9xc3z3BjGf1ubtAtUkh64oydIv0QAXxAJki0VcqnYAq4mCKl8J3UtnxRKzMHkVrvN6SV8lXfsuV1cZJWLMaSRPULXUJxxUIlspYJepG6IKeFioli+YL1rHQX9Hkdv9MyEzsYT7XFmx3VOyfywmDlX0zbpVSMo1dsyMTC8pRrZKid1vEynSHv2/JyAwPu6azYAEcJBRuqtVjl8WE/0O1gaVyt/I079CncU2PlTFOR0equnh2Ha6d/E4YdnbJkmDUJPzE/VN0L9Qsr8hS+k9xRyj3t5naRwJj6zHaYn4MjgWG1k= X-Forefront-Antispam-Report: CIP:69.169.224.1;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:b224-1.smtp-out.eu-central-1.amazonses.com;PTR:b224-1.smtp-out.eu-central-1.amazonses.com;CAT:NONE;SFS:(13230040)(704161211799003)(61400799027)(9140799003)(48200799018)(32142699015)(376014)(10067099003)(5063699009)(56012099006)(261026121527099003)(261026140227099003)(261028144727099003)(261021135927099003)(261021121427099003)(261022105027099003)(261102123227099003)(261009223027099003)(22082099003)(18002099003)(16102099003)(55112099003)(4143699003)(4113699003)(5113699003)(13003099007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IbYes/m3+9FUYf7b2TCSsHxSKo+ms90H1ae0gDUcEeWg+r7uV4rE/r0uPuW771gDXfbi4Skwpol2hfwswWal/IY9I7fJoqAcjwE+/nk7FZ3Ub7TRShbfmtf7dXzc0GrS8ygVDrCSfnr6AgsTrUvCs6feG+ZNvySA48PNTcxwrrXrpmcrrEy9VB7i/eJ3s/+UFfwmga2xXM/2nG0NFzYVNi+Ak5fApxltqV1yiVUJiwjzKkgwp5jabz391/I6h+YdFnIkDI6LJUXf/yg5109Or9sgDeCo1CsyqaR6clDBMIVxZy01k1eIDZsp1+T3nJpr2AxHA9uP1Y3Z6KLfytjYSq7JWNI4KGRXC/YSIeUlaqp1TwKbHJNWkguGzxR0YrUudLpFRy85jTsuYcNo7rSi5tqwPbLrvrXaGWLMyF39UOb18cpwVIWekUHYUPpixim6 X-ExternalRecipientOutboundConnectors: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 00:58:22.0183 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41ac5c51-a075-47d3-fffc-08df4f46325c X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-AuthSource: MA3PEPF00000409.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB10226 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 > 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 [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 --=20 Sashiko AI review =C2=B7 https://sashiko.vzint.dev/#/patchset/2026113009421= 0.1686802-1-alexander.ivanov@virtuozzo.com?part=3D3