• J
    qemu: Recompute downtime and total time when migration completes · eaee338a
    Jiri Denemark 提交于
    Total time of a migration and total downtime transfered from a source to
    a destination host do not count with the transfer time to the
    destination host and with the time elapsed before guest CPUs are
    resumed. Thus, source libvirtd remembers when migration started and when
    guest CPUs were paused. Both timestamps are transferred to destination
    libvirtd which uses them to compute total migration time and total
    downtime. Obviously, this requires the time to be synchronized between
    the two hosts. The reported times are useless otherwise but they would
    be equally useless if we didn't do this recomputation so don't lose
    anything by doing it.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    eaee338a
qemu_domain.c 81.5 KB