[PATCH AUTOTEST] kvm: timedrift test: fix typo (host_delta_t)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Uri Lublin <uril@xxxxxxxxxx>
---
 client/tests/kvm/tests/timedrift.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/tests/timedrift.py b/client/tests/kvm/tests/timedrift.py
index b3e8770..06f6a70 100644
--- a/client/tests/kvm/tests/timedrift.py
+++ b/client/tests/kvm/tests/timedrift.py
@@ -160,7 +160,7 @@ def run_timedrift(test, params, env):
     # Report results
     host_delta_total = ht2 - ht0
     guest_delta_total = gt2 - gt0
-    drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta
+    drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta_total
     logging.info("Total host duration including rest: %.2f" % host_delta_total)
     logging.info("Total guest duration including rest: %.2f" % guest_delta_total)
     logging.info("Total drift after rest: %.2f%%" % drift_total)
-- 
1.6.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux