From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <010701a1ee7fc30a-83f79d49-7ffb-47c5-b15b-a74e5a55d6ad-000000@eu-central-1.amazonses.com> Received: from PA4PR04CU001.outbound.protection.outlook.com (mail-francecentralazon11023135.outbound.protection.outlook.com [40.107.162.135]) by lore.virtuozzo.com (Postfix) with ESMTPS id 2FF468017D for ; Wed, 18 Nov 2026 11:51:58 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rAnF9Biqp+w3WdDVJ7g7Yfnzv6OSyyc30g0ma3MK29I3ZcmNp/TOLHCmlqXH0HyHDrF3nuX1zi1p2wlfAMUM9YGurWBe60Fbc9CApE+24B2JSlDlo93ypxkb32NfQfd8LfR5EGUNf8d8J3BRUCKm19NXRF4ihyzt0fycpDK8g6Ol/pNkb+cI5NsGsgo5bjdRVauf+1wEq6ADVkIcEbzsW8SuT8ojj3t1t7HSIWcsio9j2sn2+aIlE+xFJ6o2DEdWFHsqtSO8zsVQPioTWjKI8Fhf8I37gS8LigRVwjduSODHWjGNtsTFeNzddKrbJJal4H38dYWSJy99gCB0QDm+lA== 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=EEPaJcnTDNhlhWKOu9RkHcqG/SYlHRlJAkUVCkANKlU=; b=bLbeHpQPsv/XILjOOmlPs2nTIZ9IOFJtlSI4kou6/VaSb/WHAqCh4ls8pxclGnUQ9+FFWIVKuFxBJNKjETkZDUaNS9xjGYpfIxyCRtExx2kUd5fH7pnzQC3EDwvZwp40dsyMSRzOqXiHcANyZ42WDuD9CvVvsHFueP71ntLn63XziJ1GmJK3mk8D+MQC384Io663Nj260dY4y0anUc7+X3rcpUIs1hAPZwn151d4TSy13V3exk2ncTnfAS9Wj6klNi3kwX8ohs1XfdDbW2iQ3BziJ3QOjbCKqEBhlKMcn81aUhSDR0zxNoGwxZSRV+9rb2kX1mU6AZSxZ2hTE2oD9Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 69.169.224.5) 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=EEPaJcnTDNhlhWKOu9RkHcqG/SYlHRlJAkUVCkANKlU=; b=mJCPghEvkacMCFNRNE26pRNZkJJxI45vRzaH70WXUlb4RDeVDXMsKcP2OkaepGIn+DdeCApTWKIcMoC8UdVuMQx52LmxX+PezHQVkYJdVxdtWdeUttINaqzkiQmjARs5frJk9T2XorQAsk2X04Wbq7psOwWySFqa8kp/WC4nZOc= Received: from GV3PEPF0001DBB3.SWEP280.PROD.OUTLOOK.COM (2603:10a6:158:401::6f6) by PR3PR08MB5738.eurprd08.prod.outlook.com (2603:10a6:102:81::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov 2026 11:51:54 +0000 Received: from WA1PEPF000099CD.eurprd04.prod.outlook.com (2603:10a6:1d8::165) by GV3PEPF0001DBB3.outlook.office365.com (2603:10a6:158:401::6f6) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.13 via Frontend Transport; Wed, 18 Nov 2026 11:51:53 +0000 Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 69.169.224.5) 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.5 as permitted sender) receiver=protection.outlook.com; client-ip=69.169.224.5; helo=b224-5.smtp-out.eu-central-1.amazonses.com; pr=C Received: from b224-5.smtp-out.eu-central-1.amazonses.com (69.169.224.5) by WA1PEPF000099CD.mail.protection.outlook.com (10.167.242.21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 18 Nov 2026 11:51:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=23yjbh4k34hwzfubhuiim7m4inbd3ick; d=sashiko.virtuozzo.com; t=1795002712; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=pvhicvxAb3NQpQngEdRs/fkUkGr29Wh7uitJdDzu9FU=; b=Hjz5PqWVZmIN4TyHtqzH9yeTi/fAwXH5I053kLV0uRQR/4DAXaJvLYFNJ4jJkKyt Tf+3D11UDwi2cimNzuf8rjztG1WLJhVX0BzK9HgwbhEwylyWYC+VwZPbfu980dpu2hh 050QGlvVoNCPN9xlNiWgB6kWHsDh97q5jLUEdL0sSVgDkh2FvXlndxyaqcfs0yEs5ug 6RzZ7z8tISgjRqGRHmcp5ih4tlEcXOTpzWAGuOLVPDGhKkZLESUyp8RaFtornSpki3O BBG0bXnW8P6+SGX6aznO6CwSX6vzwpWY4qp86b2rB4wWDTctyzoHX4C9pS230n7AiNn D78XZDWHsw== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=qftdzk2dqsatjnlrq4r5brjbihpfcrsh; d=amazonses.com; t=1795002712; h=Message-ID:From:Subject:To:Cc:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date:Feedback-ID; bh=pvhicvxAb3NQpQngEdRs/fkUkGr29Wh7uitJdDzu9FU=; b=PqVbyNoI/TDAAaAQWQgt+Ph+yUG8CvoIB6cSCxF99YJZaDNwp0dkyjEVIlnMTbyx r2r+2yDoY58+Apcxzr5OMcpIqzhY4dHUx/kEwJWZLT6VDq5FDjgv2IJEX7BXw3YgmAG kJgqjNs0bDEssnzXh2rMDgA6nbCPOgCgWXdkR5Bo= Message-ID: <010701a1ee7fc30a-83f79d49-7ffb-47c5-b15b-a74e5a55d6ad-000000@eu-central-1.amazonses.com> From: no-reply@sashiko.virtuozzo.com Subject: Re: [PATCH hci-7.4 1/2] hw/loader: stop rom_reset() overwriting the BIOS after vz-cprload #VSTOR-155779 To: "Denis V. Lunev" , svt-core@virtuozzo.com Cc: andrey.drobyshev@virtuozzo.com In-Reply-To: <20261118114729.2973585-2-den@openvz.org> References: <20261118114729.2973585-1-den@openvz.org> <20261118114729.2973585-2-den@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Nov 2026 11:51:52 +0000 Feedback-ID: ::1.eu-central-1.2wRQJBpg9g1fGRYexx3dUuYGS25Bux+2TEOx72/m6U4=:AmazonSES X-SES-Outgoing: 2026.11.18-69.169.224.5 X-EOPAttributedMessage: 0 X-EOPTenantAttributedMessage: 0bc7f26d-0264-416e-a6fc-8352af79c58f:0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: WA1PEPF000099CD:EE_|PR3PR08MB5738:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: ce09190a-d9f8-4a79-d908-08df456a56c8 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|376014|61400799027|9140799003|48200799018|32142699015|16102099003|22082099003|4113699003|18002099003|5113699003|261009223027099003|55112099003|13003099007|4143699003|5063699009|261026135527099003|56012099006|5023799004|261026121527099003|261102123227099003|261028144727099003|261026140227099003|261022115727099003|261021121427099003|261022105027099003|261022075727099003|10067099003; X-Microsoft-Antispam-Message-Info: FYWLOSz5Cq7AKrHm5Z/p01tsTH6DRjjC6aOopHhgDI1YmkpbqG1AHgZ3yrkg4VqNDyALPW/1i9wZLjc9iiAmO1h36pHWpwmo/XFhhh/s7xIzXnXMaHoGhmrcqhFmVc7qooQHsAprLcE1kHeUpj3sFEB75cYzf6ZoTx9XAog2JZsEoBI06d8h6zSYgTDMpp7dD8uY6+0RdT4X7qFSlDJhfmsntz29fCrAPJR3abx47OaKGT5vIRrV6gujdnhmbmvpqMa7K20OtSAjGmbxQXc0Ztk5f8j/e1MHHxrxyd9gID18vKHaDeazPqcEcDvNvOr5C+lU56Y1gR6LgV+JLUm8pJEchDJY0N7MYwXaKmopV8gUXE6lJVgAKvRK7stxSjofoP/Qe9iw1AsujJO5hPmbQ8wneDcgKiIORmgVpDJujKp0uB3PKUJvHKkd+As3jLuQaAES3PxAoQZYnoYu2w+K7RdiSxBzXlUbgCveUlgiKuwn+5ib4cwNgJHS0qODztMiuznFhFR9+dl/VdxxB6BefXyEZeGYKecFOhnXsQTT3ZgxQcc+r015xQKWTPqY+EJfRgHjfPK0Tx2mymlorUFbPoMLPbHeEmf66POhbnta0OnxNgR4mfgeczoWJXXSjtej2xrhFicZOjECdKN2tV3IVAiyUYwWLzqzy0LRIclJNLv+IMfqEkVXDk8ytLU9MybW2Tes5zmX27VdKpXIWGLNiIvc5ifWQM/2XCQwZQAwntCplre94nlbQv5VFGGyce9MDWBDod8cKbOBMUyFRmxGY6Jl10ASYgdUQMTpJ7urBR0u6qqlFtqD8QXd083CLHSOPNZfMBj8aQ0zkMjQONJJsw== X-Forefront-Antispam-Report: CIP:69.169.224.5;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:b224-5.smtp-out.eu-central-1.amazonses.com;PTR:b224-5.smtp-out.eu-central-1.amazonses.com;CAT:NONE;SFS:(13230040)(376014)(61400799027)(9140799003)(48200799018)(32142699015)(16102099003)(22082099003)(4113699003)(18002099003)(5113699003)(261009223027099003)(55112099003)(13003099007)(4143699003)(5063699009)(261026135527099003)(56012099006)(5023799004)(261026121527099003)(261102123227099003)(261028144727099003)(261026140227099003)(261022115727099003)(261021121427099003)(261022105027099003)(261022075727099003)(10067099003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZDBl76uLyIdj39/9OQe5lDcI77C9R+4XuejkfFhm9tNBUFrf3GDhrv3NXtJPA/2NrsDK5fUM7NuFvihZ/6Lg6hV1+ZkmkUpeJ8OUlI0kkMZfjAfp5rSmbZ/+2sqIDIH8gEGnnkfafH3f7rT1f8qAyA73QNNejVlvhel/b1lsu8V49ntZ05VlNtxb7D9N8fTfEBl603yTQWh6Rzw0EiyGDejpN4P5M6BeCDl7DFUaBRAkewaiJQUuddQchUevBMFTvTGzWZVfWhLbSAXB+wAyN7Qyv1v2q7g9RBjzIUGINRSIT0u2h+t37TybL/O1u4DJOUJyIBTtWe4o/NvMX8nxx+1O+X17X8q3GfMqRGcd2c45KEroGTZZ3cwHrxzmfO8bMphafE6mgId5XuzVmta3PCa4V/sW0lTJFbqg2/g5yr71FSeV468EGy/cJMIOA2+p X-ExternalRecipientOutboundConnectors: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2026 11:51:53.3422 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce09190a-d9f8-4a79-d908-08df456a56c8 X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-AuthSource: WA1PEPF000099CD.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5738 Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] commit message: Fixes trailer uses 11-char SHA instead of 12 -- commit 3e556a0c6ff6fde2016d52a18d0f182cfe188ae5 Author: Denis V. Lunev > hw/loader: stop rom_reset() overwriting the BIOS after vz-cprload #VSTOR-= 155779 > > Since 8883d1305f1 rom_reset() returns early while a cpr restart is in > progress. The new QEMU starts in RUN_STATE_CPR_POSTEXEC, not INMIGRATE, > so the branch that drops the data of isrom ROMs never runs and the BIOS > image loaded from the host is kept. vz-cprload clears > CPR_RESTART_POSTEXEC, and the next guest reset copies that image into > pc.bios. > > The guest does not re-enter through the ROM. PAM is not reset, so > SeaBIOS runs from shadow RAM, finds HaveRunPost set and copies its code > back from the high ROM alias in qemu_reboot(). When the host's > bios-256k.bin is a different build from the one the guest started with, > SeaBIOS overwrites the code it is running and the vCPU stops with "KVM > internal error. Suberror: 1". A VM whose node got a new seabios-bin > after the VM started pauses this way on its first reboot after the > update. > > Treat a cpr restart like an incoming migration: drop the data of isrom > ROMs and write nothing. Dropping the early return alone is not enough > here: the startup reset would then write the ROMs over the preserved > RAM again. > > Fixes: 8883d1305f1 ("cpr: avoid resetting ROMs on qemu-update #VSTOR-1015= 76") > Signed-off-by: Denis V. Lunev [Severity: Low] This isn't a bug, but the Fixes: tag uses an 11-character abbreviated sha. = It should be at least 12 characters: Fixes: 8883d1305f1e ("cpr: avoid resetting ROMs on qemu-update #VSTOR-101= 576") The first sentence of the message cites the same commit as a bare 8883d1305= f1. It could use the 12-character sha with the subject as well. --=20 Sashiko AI review =C2=B7 https://sashiko.vzint.dev/#/patchset/2026111811472= 9.2973585-1-den@openvz.org?part=3D1