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 E29ED1FF0EA for ; Thu, 13 Aug 2026 13:28:08 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 645772164E; Thu, 13 Aug 2026 13:27:32 +0200 (CEST) From: Jakob Klocker To: pve-devel@lists.proxmox.com Subject: [PATCH pve-docs 6/6] qm: add reboot behavior information Date: Thu, 13 Aug 2026 13:27:17 +0200 Message-ID: <20260813112717.272254-7-j.klocker@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260813112717.272254-1-j.klocker@proxmox.com> References: <20260813112717.272254-1-j.klocker@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -0.529 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) KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Message-ID-Hash: ODVMEJMARSETIADFKKFWKYZGSMYAHQH4 X-Message-ID-Hash: ODVMEJMARSETIADFKKFWKYZGSMYAHQH4 X-MailFrom: jklocker@iris.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 CC: Jakob Klocker X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add information about the newly created `Reboot behavior` option in PVE. Signed-off-by: Jakob Klocker --- qm.adoc | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/qm.adoc b/qm.adoc index 96ba68b..e900cb8 100644 --- a/qm.adoc +++ b/qm.adoc @@ -1540,6 +1540,43 @@ cluster-wide. If you require a delay between the host boot and the booting of the first VM, see the section on xref:first_guest_boot_delay[Proxmox VE Node Management]. +[[qm_reboot_behavior]] +Reboot Behavior +~~~~~~~~~~~~~~~ + +When a guest reboots itself from inside the operating system, {pve} does not +need to restart the virtual machine to service the request. By default the +machine is reset in place: the QEMU process keeps running and only the guest +operating system boots again. + +This is fast and transparent to the guest, but it means the VM keeps running +with everything it was started with - its configuration, its machine version +and the host resources assigned to it. Configuration changes that are marked as +*pending* in the *Options* and hardware panels therefore stay pending, and a +newer `pve-qemu-kvm` package installed in the meantime is not picked up. A +reboot triggered through the web interface, `qm` or the API is not affected by +this, as it always stops and starts the virtual machine, unless rebooting is +disabled entirely. + +The `reboot` option has two properties: + +`enabled` (default: `1`):: +Whether the virtual machine may reboot at all. If disabled, the VM is shut down +instead of rebooted and stays off, no matter whether the reboot was initiated by +the guest or through {pve}. Note that guests managed by the +xref:chapter_ha_manager[HA stack] with the requested state `started` are started +again by the HA manager. + +`powercycle` (default: `0`):: +Stop and start the virtual machine on a reset instead of resetting it in place. +Because this is a full start, pending configuration changes take effect and the +VM is launched with the currently installed QEMU version. This applies to resets +initiated inside the guest as well as to those triggered through the web +interface, `qm` or the API. This has no effect when reboot is disabled. + +---- +# qm set --reboot 1,powercycle=1 +---- [[qm_qemu_agent]] QEMU Guest Agent -- 2.47.3