commit | a694ee343d13159d214823294bbda08e4bdac685 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 26 12:12:27 2015 +0100 |
committer | Juan Quintela <quintela@redhat.com> | Thu Dec 03 00:03:00 2015 +0100 |
tree | d40df1928925500bf4c999471e5ae46f55db488e | |
parent | 4e39f57c0010b689ffa15658ff063006b45309db [diff] |
migration: do floating-point division Dividing integer expressions transferred_bytes and time_spent, and then converting the integer quotient to type double. Any remainder, or fractional part of the quotient, is ignored. Fix this. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>