mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
migration: Remove unused qemu_file_credit_transfer()
After this change, nothing abuses QEMUFile to account for data transferrefd during migration. Reviewed-by: Leonardo Bras <leobras@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20230515195709.63843-15-quintela@redhat.com>
This commit is contained in:
parent
2ebe5d4d5a
commit
9f51fe9239
2 changed files with 0 additions and 13 deletions
|
@ -397,11 +397,6 @@ static ssize_t coroutine_mixed_fn qemu_fill_buffer(QEMUFile *f)
|
|||
return len;
|
||||
}
|
||||
|
||||
void qemu_file_credit_transfer(QEMUFile *f, size_t size)
|
||||
{
|
||||
f->total_transferred += size;
|
||||
}
|
||||
|
||||
/** Closes the file
|
||||
*
|
||||
* Returns negative error value if any error happened on previous operations or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue