[libvirt] [PATCH] Avoid a race when restoring a qemu domain.