From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 0963A1FF065 for ; Mon, 23 Nov 2026 15:07:50 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D16D3201EC; Mon, 23 Nov 2026 15:07:49 +0100 (CET) From: Fiona Ebner To: pve-devel@lists.proxmox.com, Thomas Lamprecht Subject: applied: [PATCH qemu] loadstate: exit QEMU if loading the saved VM state fails Date: Mon, 23 Nov 2026 15:07:16 +0100 Message-ID: <179544282977.427914.18036954945827294203.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261123005156.3372554-1-t.lamprecht@proxmox.com> References: <20261123005156.3372554-1-t.lamprecht@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795442866657 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.247 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: YFUTY4JIO27CSSC4HY7WA3TYDAL33KDR X-Message-ID-Hash: YFUTY4JIO27CSSC4HY7WA3TYDAL33KDR X-MailFrom: f.ebner@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 23 Nov 2026 01:51:54 +0100, Thomas Lamprecht wrote: > QEMU kept running without executing the guest if it could not load the > state given with -loadstate, and its startup reported success. For > management software, this looks the same as a successful load together > with -S, which also stays in the prelaunch state. qemu-server took such > a resume for a success and deleted the hibernation state, so a state > that could not be loaded only for now, for example after a change to the > VM config, got lost. After a rollback to a snapshot with RAM, it > continued such a VM, which then booted from firmware on the rolled back > disks and the rollback reported success. > > [...] Applied, thanks! [1/1] loadstate: exit QEMU if loading the saved VM state fails commit: 66e606a7b528fb6664fe4797e4262dcf9fc05726