diff options
author | Juan Quintela <quintela@redhat.com> | 2023-05-15 21:57:09 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-18 18:41:46 +0200 |
commit | cbec7eb76879d419e7dbf531ee2506ec0722e825 (patch) | |
tree | 2564b5bdcf643dd28e4f5a7c986b40887a79978b /migration/rdma.h | |
parent | bd7ceaf6d584b77dd6dbd8af7949d1e91a7c0537 (diff) |
migration/multifd: Compute transferred bytes correctly
In the past, we had to put the in the main thread all the operations
related with sizes due to qemu_file not beeing thread safe. As now
all counters are atomic, we can update the counters just after the
do the write. As an aditional bonus, we are able to use the right
value for the compression methods. Right now we were assuming that
there were no compression at all.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20230515195709.63843-17-quintela@redhat.com>
Diffstat (limited to 'migration/rdma.h')
0 files changed, 0 insertions, 0 deletions