migration: use qemu_ftell to compute bandwidth
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Feb 2013 16:36:43 +0000 (17:36 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 11 Mar 2013 12:32:02 +0000 (13:32 +0100)
commitbe7172e22a9c3bc448894e57f6c2d1af6ffd47fd
tree9ccaf1c068c34642079f96911bbdbcb7c1ea46f6
parente6a1cf21328802f3a83e84e893b8cb8a468141cc
migration: use qemu_ftell to compute bandwidth

Prepare for when s->bytes_xfer will be removed.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration.c