Re: [Qemu-devel] [PATCH 7/7] migration: do floating-point division

2015-01-26 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Paolo Bonzini (pbonz...@redhat.com) wrote: >> 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. >> >> Signe

Re: [Qemu-devel] [PATCH 7/7] migration: do floating-point division

2015-01-26 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > 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 > --- > migrati

[Qemu-devel] [PATCH 7/7] migration: do floating-point division

2015-01-26 Thread Paolo Bonzini
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 --- migration/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 dele