public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: Kaiyang Wu <wukaiyang2003@gmail.com>, pve-devel@lists.proxmox.com
Cc: Kaiyang Wu <wukaiyang@loongfans.cn>
Subject: Re: [PATCH docs v4 2/3] qm: add document section for the pvpanic device
Date: Mon, 16 Nov 2026 17:10:21 +0100	[thread overview]
Message-ID: <782e35ac-6e60-444e-a101-db0dcd5fb17c@proxmox.com> (raw)
In-Reply-To: <20261102095525.1635251-3-wukaiyang@loongfans.cn>

LGTM

Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>

On 11/2/26 10:55 AM, Kaiyang Wu wrote:
> Document the pvpanic device and corresponding driver requirements on
> different VMs.
> 
> Suggested-by: Dominik Csapak <d.csapak@proxmox.com>
> Signed-off-by: Kaiyang Wu <wukaiyang@loongfans.cn>
> ---
>   qm.adoc | 34 ++++++++++++++++++++++++++++++++++
>   1 file changed, 34 insertions(+)
> 
> diff --git a/qm.adoc b/qm.adoc
> index 18a4fbe..a994372 100644
> --- a/qm.adoc
> +++ b/qm.adoc
> @@ -1476,6 +1476,40 @@ tag (name used to mount the device on the guest).
>   For more information on available virtiofsd parameters, see the
>   https://gitlab.com/virtio-fs/virtiofsd[GitLab virtiofsd project page].
>   
> +[[qm_pvpanic]]
> +Pvpanic
> +~~~~~~~
> +
> +Pvpanic is a device to send system panic events to QEMU. It allows to
> +provide extra VM status and perform the specified panic action when the VM
> +system crashes.
> +
> +To add a pvpanic device run the following command:
> +
> +----
> +qm set <vmid> -pvpanic enabled=1[,action=<action>]
> +----
> +
> +A panic action can be specified to perform when the VM system crashes. Available
> +panic actions are:
> +
> +* `none`: Continue VM execution
> +* `pause`: Pause the VM
> +* `shutdown`: Shutdown the VM and exit, according to the shutdown action
> +* `exit-failure`: Shutdown the VM and exit with non-zero status
> +
> +NOTE: The default panic action is `shutdown`.
> +
> +NOTE: VMs managed by the HA stack can set `exit-failure` to exit the QEMU
> +process completely and let the HA stack start it again.
> +
> +Linux VMs with kernel >=5.2 support pvpanic PCI device by default.
> +
> +Windows VMs require https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers[Windows
> +VirtIO Drivers] to use pvpanic.
> +
> +FreeBSD VMs do not support pvpanic.
> +
>   [[qm_bootorder]]
>   Device Boot Order
>   ~~~~~~~~~~~~~~~~~





  reply	other threads:[~2026-11-16 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02  9:55 [PATCH qemu-server v4 0/3] add pvpanic device support Kaiyang Wu
2026-11-02  9:55 ` [PATCH qemu-server v4 1/3] qemuserver: add pvpanic device Kaiyang Wu
2026-11-16 16:10   ` Dominik Csapak
2026-11-02  9:55 ` [PATCH docs v4 2/3] qm: add document section for the " Kaiyang Wu
2026-11-16 16:10   ` Dominik Csapak [this message]
2026-11-02  9:55 ` [PATCH manager v4 3/3] ui: qemu: add pvpanic device support Kaiyang Wu
2026-11-16 16:10   ` Dominik Csapak
2026-11-12  9:41 ` [PATCH qemu-server v4 0/3] " Kaiyang Wu

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=782e35ac-6e60-444e-a101-db0dcd5fb17c@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=wukaiyang2003@gmail.com \
    --cc=wukaiyang@loongfans.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal