mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
migration/rdma: Unfold last user of acct_update_position()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Lukas Straub <lukasstraub2@web.de>
This commit is contained in:
parent
c61d2faa93
commit
5690756d7c
3 changed files with 3 additions and 11 deletions
|
@ -2231,7 +2231,9 @@ retry:
|
|||
}
|
||||
|
||||
set_bit(chunk, block->transit_bitmap);
|
||||
acct_update_position(f, sge.length);
|
||||
stat64_add(&mig_stats.normal_pages, sge.length / qemu_target_page_size());
|
||||
ram_transferred_add(sge.length);
|
||||
qemu_file_credit_transfer(f, sge.length);
|
||||
rdma->total_writes++;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue