1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/vrtManager
catborise ff1508b3c2 feat(instances): external snapshots use libvirt's snapshot API
Create, revert and delete are one libvirt call each. The pflash-to-rom
loader rewrite, the hand-written block commit and the s1./s2. names are
gone, so UEFI VMs can take external snapshots, a revert keeps disks added
later, and deleting an older snapshot keeps the newer one.

Create refuses what libvirt could not revert or delete later: internal
snapshots on the VM, a saved state, a running snapshot job, disks that
are not files, CD-ROM media, a branch after a revert, and memory without
a running VM or room in the first disk's pool. A disk-only revert keeps
the VM running, paused or shut off; one with memory resumes it as saved.
A revert in the same second as the previous one, which libvirt fails
after stopping the VM, is retried once.
A snapshot the old code took of a UEFI VM saved the loader as rom; its
revert is refused (deleting it still works).

The snapshots tab lists internal and external snapshots separately, can
save memory too, shows running snapshot jobs, and the revert confirmation
names the disks it detaches and that NVRAM is not restored.
2026-10-12 15:25:44 +03:00
..
tests feat(instances): external snapshots use libvirt's snapshot API 2026-10-12 15:25:44 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py fix(interfaces): no create, start, stop or delete where libvirt cannot change interfaces 2026-10-10 21:38:22 +03:00
create.py fix(instances): device edits fit every definition and device type 2026-10-09 18:13:23 +03:00
hostdetails.py fix(instances): the new-VM dialog shows each host's current CPU load 2026-10-10 20:54:19 +03:00
instance.py feat(instances): external snapshots use libvirt's snapshot API 2026-10-12 15:25:44 +03:00
interface.py fix(interfaces): a bridge over a bond or vlan keeps the device's settings 2026-10-08 23:23:22 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py fix(appsettings,vrtManager,storages): error handlers that hid the real failure 2026-10-07 11:29:45 +03:00
nwfilters.py fix(vrtManager): request values are not written into XPath expressions 2026-10-06 08:55:41 +03:00
rwlock.py fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
storage.py Detect RDB pools too 2025-03-14 10:31:40 +01:00
util.py fix(instances): device edits fit every definition and device type 2026-10-09 18:13:23 +03:00
virtsecrets.py Django 3.2.4 LTS upgrade 2021-06-15 13:28:47 +03:00