[libvirt PATCH 20/30] qemu_snapshot: refactor validation of snapshot delete