mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
Only a running disk's definition has its backing chain; for the others the in-use check reads it from the volumes of active pools. With such a disk's overlay in an inactive pool (a stopped VM's, the next start's, a saved state's or a snapshot's), its backing file counted as unused, so deleting another VM with its disks, or the volume itself, could delete it. The check now refuses (InUse) while a disk that is not running and not raw has its file in an inactive pool, and says to start the pool. A snapshot delete that is done reports no left-behind files then, rather than failing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nodedevs.py | ||
| nwfilters.py | ||
| storage.py | ||
| util.py | ||
| virtsecrets.py | ||