[libvirt] [PATCH 2/9] qemu: snapshot revert: reuse common cleanup code