mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
migration: migration_transferred_bytes() don't need the QEMUFile
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231025091117.6342-8-quintela@redhat.com>
This commit is contained in:
parent
e9c0eed7c2
commit
f57e5a6ce5
3 changed files with 7 additions and 9 deletions
|
@ -137,11 +137,9 @@ void migration_rate_set(uint64_t new_rate);
|
|||
/**
|
||||
* migration_transferred_bytes: Return number of bytes transferred
|
||||
*
|
||||
* @f: QEMUFile used for main migration channel
|
||||
*
|
||||
* Returns how many bytes have we transferred since the beginning of
|
||||
* the migration. It accounts for bytes sent through any migration
|
||||
* channel, multifd, qemu_file, rdma, ....
|
||||
*/
|
||||
uint64_t migration_transferred_bytes(QEMUFile *f);
|
||||
uint64_t migration_transferred_bytes(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue