From: Kaiyang Wu <wukaiyang2003@gmail.com>
To: pve-devel@lists.proxmox.com
Cc: Kaiyang Wu <wukaiyang@loongfans.cn>
Subject: [PATCH docs 2/3] qm: add document section for the pvpanic device
Date: Thu, 27 Aug 2026 18:35:28 +0800 [thread overview]
Message-ID: <20260827103529.393388-3-wukaiyang@loongfans.cn> (raw)
In-Reply-To: <20260827103529.393388-1-wukaiyang@loongfans.cn>
Document the variants of the pvpanic device, and corresponding driver
requirements on different virtual machine operating systems.
Signed-off-by: Kaiyang Wu <wukaiyang@loongfans.cn>
---
qm.adoc | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/qm.adoc b/qm.adoc
index 5b46cdc..afa7d32 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -1472,6 +1472,35 @@ 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 when the VM system crashes.
+
+To add a pvpanic device run the following command:
+
+----
+qm set <vmid> -pvpanic0 <type>
+----
+
+Supported pvpanic device types are:
+
+* `pvpanic`: pvpanic ISA device
+* `pvpanic-pci`: pvpanic PCI device
+
+Linux VMs with kernel >=3.1 support pvpanic ISA device
+(https://www.kernelconfig.io/CONFIG_PVPANIC[pvpanic ISA driver]), and with
+kernel >=5.2 support pvpanic PCI device
+(https://www.kernelconfig.io/CONFIG_PVPANIC_PCI[pvpanic PCI driver]).
+
+Windows VMs require
+https://github.com/virtio-win/kvm-guest-drivers-windows/[kvm-guest-drivers-windows]
+to use pvpanic.
+
+FreeBSD VMs do not support pvpanic.
+
[[qm_bootorder]]
Device Boot Order
~~~~~~~~~~~~~~~~~
--
2.55.0
next prev parent reply other threads:[~2026-08-27 10:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 10:35 [PATCH qemu-server/docs/manager 0/3] add pvpanic device support Kaiyang Wu
2026-08-27 10:35 ` [PATCH qemu-server 1/3] qemuserver: add pvpanic device Kaiyang Wu
2026-08-27 10:35 ` Kaiyang Wu [this message]
2026-08-27 10:35 ` [PATCH manager 3/3] ui: qemu: add pvpanic device support 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=20260827103529.393388-3-wukaiyang@loongfans.cn \
--to=wukaiyang2003@gmail.com \
--cc=pve-devel@lists.proxmox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.