[libvirt] [PATCH v2 4/7] qemu: Fix a race when computing migration downtime