diff options
author | Juan Quintela <quintela@redhat.com> | 2023-10-25 11:11:09 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-10-31 08:44:33 +0100 |
commit | 737840e2c6ea76896ffd8d3f5474fd4a4aee62d6 (patch) | |
tree | b0be1bbc22d0169da6e09f6d4fe20d2c3cf647df /qapi/net.json | |
parent | 5e2652185b6a08fcf5c1acc2d81b59ddb9c7855d (diff) | |
download | qemu-737840e2c6ea76896ffd8d3f5474fd4a4aee62d6.zip qemu-737840e2c6ea76896ffd8d3f5474fd4a4aee62d6.tar.gz qemu-737840e2c6ea76896ffd8d3f5474fd4a4aee62d6.tar.bz2 |
migration: Use the number of transferred bytes directly
We only use migration_transferred_bytes() to calculate the rate_limit,
for that we don't need to flush whatever is on the qemu_file buffer.
Remember that the buffer is really small (normal case is 32K if we use
iov's can be 64 * TARGET_PAGE_SIZE), so this is not relevant to
calculations.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231025091117.6342-5-quintela@redhat.com>
Diffstat (limited to 'qapi/net.json')
0 files changed, 0 insertions, 0 deletions