aboutsummaryrefslogtreecommitdiff
path: root/fsdev/qemu-fsdev.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-10-25 11:11:15 +0200
committerJuan Quintela <quintela@redhat.com>2023-10-31 08:44:33 +0100
commit897fd8bdce6c0939e0c35ae8fda4af09b5e5fb40 (patch)
tree2132e2cd34764ab06b40161445c9679257071f78 /fsdev/qemu-fsdev.c
parentfc55cf318a19c385c25843865788ffdd05cde607 (diff)
downloadqemu-897fd8bdce6c0939e0c35ae8fda4af09b5e5fb40.zip
qemu-897fd8bdce6c0939e0c35ae8fda4af09b5e5fb40.tar.gz
qemu-897fd8bdce6c0939e0c35ae8fda4af09b5e5fb40.tar.bz2
migration: Use migration_transferred_bytes()
There are only two differnces with the old value: - the amount of QEMUFile that hasn't yet been flushed. It can be discussed what is more exact, the new or the old one. - the amount of transferred bytes that we forgot to account for (the newer is better, i.e. exact). Notice that this two values are used to: a - present to the user b - calculate the rate_limit So a few KB here and there is not going to make a difference. Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231025091117.6342-11-quintela@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions