diff options
author | Juan Quintela <quintela@redhat.com> | 2023-05-15 21:57:03 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-09-29 18:11:21 +0200 |
commit | 67c31c9c1af1bb8f7df8275cc8731629e2690f89 (patch) | |
tree | 77915d31a56d7d2bd1b0abf41d85af151250eae8 /migration/migration-stats.h | |
parent | f16ecfa9f9c147168630422a6f4a4c0eddfbe574 (diff) |
migration: Don't abuse qemu_file transferred for RDMA
Just create a variable for it, the same way that multifd does. This
way it is safe to use for other thread, etc, etc.
Reviewed-by: Leonardo Bras <leobras@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230515195709.63843-11-quintela@redhat.com>
Diffstat (limited to 'migration/migration-stats.h')
-rw-r--r-- | migration/migration-stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/migration/migration-stats.h b/migration/migration-stats.h index ac2260e987..2358caad63 100644 --- a/migration/migration-stats.h +++ b/migration/migration-stats.h @@ -90,6 +90,10 @@ typedef struct { */ Stat64 rate_limit_max; /* + * Number of bytes sent through RDMA. + */ + Stat64 rdma_bytes; + /* * Total number of bytes transferred. */ Stat64 transferred; |