Description of problem: Snapshot's supporting disk image may be deleted through libvirt with no warning. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Create a disk image, set up any operating system. 2. Make a snapshot of this image and boot from the snapshot. 3. Delete the suporting image through virt-manager, and be left hanging. Actual results: The snapshot's supporting image is deleted, no questions asked Expected results: Some warning, maybe a complete denial to delete image while snapshot exists. Additional info:
Sorry this didn't receive a timely response. Deleting disks through virt-manager uses libvirt's storage APIs which I don't think will grow any awareness about if they contain snapshots, or say if a VM is even using the disk, similar to how 'rm' isn't going to tell you what depends on the file. This could be something instead that virt-manager warns about, please file a bug against virt-manager if you're still interested