1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/instances/templates
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
..
instances feat(instances): a guest that crashes or hangs is restarted or stopped 2026-11-22 22:04:04 +03:00
add_instance_cdrom.html feat(instances): a CD-ROM is added on the bus chosen, with its ISO 2026-11-01 16:27:39 +03:00
add_instance_network_block.html refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
add_instance_owner_block.html feat(ui): the owner and VM lists of the ownership forms are searchable 2026-11-10 09:21:25 +03:00
add_instance_volume.html refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
allinstances.html feat(computes): a host's Instances page is the VM list of its VMs 2026-11-21 20:34:51 +03:00
allinstances_index_grouped.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
allinstances_index_nongrouped.html feat(computes): a host's Instances page is the VM list of its VMs 2026-11-21 20:34:51 +03:00
create_flavors.html feat(templates): every confirmation asks in the page's own dialog 2026-10-31 20:44:39 +03:00
create_flavors_reply.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_inst_block.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
create_instance_w1.html fix(ui): a form being sent shows it on its button 2026-11-21 21:31:21 +03:00
create_instance_w2.html fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
create_presets.html fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
create_steps.html refactor(templates): Bootstrap's components instead of the panel's own CSS for capacity, steps and disclosures 2026-10-27 17:05:03 +03:00
instance.html feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
instance_actions.html refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
instance_name_cell.html feat(tags): smaller tag badges, three on the VM list 2026-11-18 23:31:55 +03:00
instance_state.html feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00