aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-04-11 18:04:59 +0200
committerJuan Quintela <quintela@redhat.com>2023-04-24 11:28:59 +0200
commit3c764f9b2bc3e5eb5ed93ab45c2de6d599fef00f (patch)
tree7c9812b4a893321d1bcc65dfce214cf5d0974623 /migration/ram.h
parent536b5a4e56ec67c958f46e7d46cbd5ac34e5a239 (diff)
migration: Make postcopy_requests atomic
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r--migration/ram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h
index 8c0d07c43a..afa68521d7 100644
--- a/migration/ram.h
+++ b/migration/ram.h
@@ -49,7 +49,7 @@ typedef struct {
Stat64 multifd_bytes;
Stat64 normal;
Stat64 postcopy_bytes;
- int64_t postcopy_requests;
+ Stat64 postcopy_requests;
Stat64 precopy_bytes;
int64_t remaining;
Stat64 transferred;