1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/instances/templates/instances
catborise ede9e0bca7 feat(instances): a guest that crashes or hangs is restarted or stopped
The VM Settings "When the guest crashes" choice (on_crash, restart for new
VMs) never acted: a guest reports a crash through a panic device, and the
panel gave VMs none. A guest whose kernel panicked stayed "running" until
someone noticed.

- new VMs get the panic device the host offers (get_panic_model: x86 ISA
  pvpanic, which Linux has built in and Windows gets with virtio-win; the
  PCI one elsewhere; ISA on x86 when libvirt does not tell), and an x86
  machine without a watchdog of its own (not q35, which has the iTCO; not
  microvm, which has no PCI bus) an i6300esb
- choosing Restart or Stop adds the panic device to a VM without one, an
  i6300esb when it has no watchdog (libvirt before 9.1 shows no iTCO on
  q35), and gives its watchdogs the matching action (reset, poweroff): a
  guest that arms its watchdog and hangs is met as one that crashed. A VM
  without these devices shows no choice made and says it cannot report a
  crash or a hang yet. From the next start, as before

Checked live on a Vagrant host with a guest whose init exits (kernel panic):
without the device it stayed "running (booted)"; after Stop it ended
"shut off (crashed)", after Restart it booted again.
2026-11-22 22:04:04 +03:00
..
access_tab.html feat(instances): the Access tab splits the VM's screen from root's login 2026-11-03 20:39:40 +03:00
boot_device.html feat(instances): the Boot tab shows the boot order as the chain the VM tries 2026-11-03 19:48:52 +03:00
bulk_power_box.html feat(instances): start, shut down or force off the VMs chosen on the VM list 2026-11-20 11:39:45 +03:00
destroy_instance_form.html fix(ui): forms ask one thing at a time, offer the host's pools and say less twice 2026-11-22 00:25:53 +03:00
destroy_tab.html feat(instances): a protected VM is not deleted nor restored over 2026-11-19 22:00:25 +03:00
edit_instance_volume.html fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
form_errors.html fix(instances): a refused VM create form comes back with what was entered 2026-10-20 08:12:25 +03:00
host_devices_form.html fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
host_link.html feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
info_tab.html fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
migrate_plan.html fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
move_disk.html style(instances): the Disks tab's secondary buttons are outlined 2026-11-04 10:47:55 +03:00
nic_qos_form.html fix(locale): the VM page's and Settings page's messages show translated 2026-11-02 23:09:05 +03:00
power_tab.html fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
resize_tab.html fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
settings_tab.html feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
snapshots_tab.html fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
stats_tab.html fix(logs): the VM page's Logs tab shows times as the Logs page does 2026-11-10 11:52:54 +03:00
vm_list.html feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
vm_list_scripts.html feat(computes): a host's Instances page is the VM list of its VMs 2026-11-21 20:34:51 +03:00
vm_states_poll.html fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00