[libvirt] [PATCH v5] qemu: Remove the managed state file only if restoring succeeded