Re: [Qemu-devel] [PATCH 07/12] dirty-bitmap: Change bdrv_get_dirty_count() to report bytes

2017-04-12 Thread John Snow
On 04/12/2017 01:49 PM, Eric Blake wrote: > Thanks to recent cleanups, all callers were scaling a return value > of sectors into bytes; do the scaling internally instead. > > Signed-off-by: Eric Blake > --- > block/dirty-bitmap.c | 4 ++-- > block/mirror.c | 13 + > migratio

Re: [Qemu-devel] [PATCH 07/12] dirty-bitmap: Change bdrv_get_dirty_count() to report bytes

2017-04-12 Thread John Snow
On 04/12/2017 01:49 PM, Eric Blake wrote: > Thanks to recent cleanups, all callers were scaling a return value > of sectors into bytes; do the scaling internally instead. > > Signed-off-by: Eric Blake > --- > block/dirty-bitmap.c | 4 ++-- > block/mirror.c | 13 + > migratio

[Qemu-devel] [PATCH 07/12] dirty-bitmap: Change bdrv_get_dirty_count() to report bytes

2017-04-12 Thread Eric Blake
Thanks to recent cleanups, all callers were scaling a return value of sectors into bytes; do the scaling internally instead. Signed-off-by: Eric Blake --- block/dirty-bitmap.c | 4 ++-- block/mirror.c | 13 + migration/block.c| 2 +- 3 files changed, 8 insertions(+), 11 d