aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/vm/VmModule.qml
AgeCommit message (Collapse)AuthorFilesLines
22 hoursvm: say what to do when a saved state won't restoreHEADmasterDanilo M.1-1/+9
A managed save written by libvirt 12.0.0's default raw format restores through an fd: migration, which QEMU 11.1.2 refuses with "migrate-incoming: fd: migration to a file is not supported. Use file: instead." The start then fails the same way every time, and the notification only carried that raw error, which does not say the fix is the page's own Discard saved state button. A start failure mentioning migrate-incoming now leads with that advice and keeps the raw error below it. The host side was fixed separately with save_image_format = "sparse" in qemu.conf, which restores through file: and was checked with a managedsave and start round trip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daysvm: show docker containers beside the VMsDanilo M.1-8/+15
Docker.qml mirrors Virsh: the docker CLI, an event stream that runs for the whole session, and `docker stats --no-stream` on the 2s timer only while the page is up. Containers are grouped by compose project, since a stack is a dozen containers that start and stop together; a container outside any project is a group of one. Verbs are start, stop, restart and resume, by container id, so no compose file is needed and nothing removes a container. The event stream is filtered to lifecycle events: health checks emit exec_* events every few seconds per container, which would make the stream a poll. It dies with the daemon, so it is retried every 10s. An inactive Loader keeps its last height and a Column still reserves it, so collapsing one card left an empty box where its detail had been. Both the container and VM detail loaders now hide while inactive; the VM one had the same bug, unseen with a single VM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17vm: the tile is labelled VMsDanilo M.1-1/+1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-14feat(desktop): move vm-manager in as the vm moduleDanilo M.1-0/+51
Virsh.qml is unchanged; VmPanel's body becomes the page and the stat row becomes a Flow, because four stats with 150px bars do not fit a 600px drawer as one row. The page starts and stops Virsh.sampling, so the 2s poll runs only while something is looking at it; the lifecycle event stream still runs always, which is what keeps the tile's dots current.