mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
feat(instances): the VM page shows the VM's screen
A running or paused VM with a VNC or SPICE console shows its screen beside the summary (virDomainScreenshot, PNG), read again every 10 s while the page is in view; clicking it opens the console. It is for those who may open the console (the screen shows what the console does) and is left out while there is none to show, also on a host whose libvirt gives PPM. The VM list does not read screens: one a VM would cost too much.
This commit is contained in:
parent
8625d6250a
commit
d5cc696d73
18 changed files with 205 additions and 9 deletions
|
|
@ -33,6 +33,7 @@ What an update from an older version changes for operators and users. To run the
|
|||
- On a running VM the edit forms show the settings as they will be at the next start, so saving an edit no longer reverts another pending change.
|
||||
- External snapshots need libvirt 9.9 or newer on the computes. libvirt 9.10 (openEuler 24.03 LTS) refuses to revert a snapshot taken without memory of a running or paused VM ("Invalid target domain state 'disk-snapshot'"); 11.10 reverts it. A VM's snapshots form one chain: after a revert, delete the newer snapshots before taking another. An internal snapshot is reverted only on a shut-off VM. Snapshot names no longer get an `s1.` prefix. A snapshot an older version took of a UEFI VM can only be deleted, not reverted. On NFS, the qemu user needs write access to the image directory to remove merged snapshot files.
|
||||
- A superuser limits a disk's I/O (IOPS and MiB/s, reads and writes together) under its Device details on the Disks tab; a running VM gets the limit at once.
|
||||
- The VM page shows a running or paused VM's screen beside its summary, read again every 10 seconds, to those who may open its console; clicking it opens the console. It needs a VNC or SPICE console and a host whose libvirt gives screenshots as PNG (libvirt 9 and QEMU 7.1 or later); otherwise it is not shown.
|
||||
- **Free unused space** on a running VM's Disks tab (superusers) has its guest agent trim each file system (`guest-fstrim`, a job that lists what each one trimmed). Only a disk with the discard mode `unmap` (Device details, from the VM's next start; Settings > Disk Discard for new disks) passes it to its image file, which then shrinks; the tab says when no disk has it.
|
||||
- A storage volume a VM still needs (a disk, a backing file or a snapshot's file) is not deleted; deleting a VM with its files keeps a file another compute's VM or volume uses at the same path, and is refused before the VM is stopped when one of the other computes cannot be reached. A pool's page names the VMs of its host that use each volume and lists those the host does not use.
|
||||
- A VM that vanishes from its compute, or whose compute is deleted, keeps its owners, tags, protection and schedules for `INSTANCE_OWNERSHIP_RETENTION_DAYS` (30) in case the same UUID comes back, and its backups are linked to it again; superusers manage these records on the "Removed VMs" page.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue