public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server/docs/manager/ha-manager 0/5] add pvpanic device support
@ 2026-09-14  9:20 Kaiyang Wu
  2026-09-14  9:20 ` [PATCH qemu-server 1/5] qemuserver: add pvpanic device Kaiyang Wu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kaiyang Wu @ 2026-09-14  9:20 UTC (permalink / raw)
  To: pve-devel; +Cc: Kaiyang Wu

This patchset adds pvpanic device support to QEMU virtual machines to
provide extra virtual machine status (guest-panicked) when virtual
machines panic [0]. The HA stack now restarts a "started" VM when it
panics.

[0]: https://www.qemu.org/docs/master/specs/pvpanic.html

v1: https://lore.proxmox.com/pve-devel/20260827103529.393388-1-wukaiyang@loongfans.cn/

Changes v1 -> v2:
- Remove the pvpanic ISA device support to simplify the code
- Move the pvpanic setting from Hardware to Options
- Restart a HA-managed VM when it panics to restore the "started" state


qemu-server:

Kaiyang Wu (1):
  qemuserver: add pvpanic device

 src/PVE/API2/Qemu.pm      |  1 +
 src/PVE/QemuServer.pm     | 11 +++++++++++
 src/PVE/QemuServer/PCI.pm |  1 +
 3 files changed, 13 insertions(+)


docs:

Kaiyang Wu (1):
  qm: add document section for the pvpanic device

 qm.adoc | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)


manager:

Kaiyang Wu (1):
  ui: qemu: add pvpanic device support

 www/manager6/qemu/Options.js | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)


ha-manager:

Kaiyang Wu (2):
  vm resource: return running status -1 for panicked VMs
  lrm: stop and restart panicked VMs to keep the "started" state

 src/PVE/HA/LRM.pm             | 9 ++++++++-
 src/PVE/HA/Resources/PVEVM.pm | 5 ++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

-- 
2.55.0




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-14  9:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14  9:20 [PATCH qemu-server/docs/manager/ha-manager 0/5] add pvpanic device support Kaiyang Wu
2026-09-14  9:20 ` [PATCH qemu-server 1/5] qemuserver: add pvpanic device Kaiyang Wu
2026-09-14  9:20 ` [PATCH docs 2/5] qm: add document section for the " Kaiyang Wu
2026-09-14  9:20 ` [PATCH manager 3/5] ui: qemu: add pvpanic device support Kaiyang Wu
2026-09-14  9:20 ` [PATCH ha-manager 4/5] vm resource: return running status -1 for panicked VMs Kaiyang Wu
2026-09-14  9:20 ` [PATCH ha-manager 5/5] lrm: stop and restart panicked VMs to keep the "started" state Kaiyang Wu

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