[libvirt PATCH 17/30] qemu_snapshot: move snapshot metadata reparent code