[libvirt PATCH 12/14] qemu_snapshot: revert: move active snapshot revert to separate function