diff options
| author | Paolo Bonzini | 2015-01-26 12:12:27 +0100 |
|---|---|---|
| committer | Juan Quintela | 2015-12-03 00:03:00 +0100 |
| commit | a694ee343d13159d214823294bbda08e4bdac685 (patch) | |
| tree | d40df1928925500bf4c999471e5ae46f55db488e /include | |
| parent | migration: Clean up use of g_poll() in socket_writev_buffer() (diff) | |
| download | qemu-a694ee343d13159d214823294bbda08e4bdac685.tar.gz qemu-a694ee343d13159d214823294bbda08e4bdac685.tar.xz qemu-a694ee343d13159d214823294bbda08e4bdac685.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
