mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
f16ecfa9f9
commit
67c31c9c1a
4 changed files with 28 additions and 5 deletions
|
@ -89,6 +89,10 @@ typedef struct {
|
|||
* Maximum amount of data we can send in a cycle.
|
||||
*/
|
||||
Stat64 rate_limit_max;
|
||||
/*
|
||||
* Number of bytes sent through RDMA.
|
||||
*/
|
||||
Stat64 rdma_bytes;
|
||||
/*
|
||||
* Total number of bytes transferred.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue