Hi @ypu,
That's an interesting point, but there are no guarantees that time.time() and monotonic time are on the same timescale. To avoid having to change all test cases right away, I suggest that we add a start_monotonic_time member to the qemu class. My suggestion is available here: https://github.com/autotest/virt-test/pull/1592
If/when it gets accepted, I can update this testcase to use vm.start_monotonic_time instead of the currently suggested setup.
Thoughts?
/Jonas