retspen/webvirtmgr — pull request #437 by Nowaker (2014-09-20 20:10:05+00:00)
Title: force delete VM with existing snapshots

> Requested operation is not valid: cannot delete inactive domain with 1 snapshots

Deleting the snapshots manually before being able to delete the VM doesn't much make sense. ;)

But what's more important, external snapshots (not supported by WVM itself) can't be deleted ([libvirt #1044691](https://bugzilla.redhat.com/show_bug.cgi?id=1044691#c11)). That said, it's inevitable to pass `VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA` to successfully delete a VM.