aboutsummaryrefslogtreecommitdiff
path: root/migration/multifd-zlib.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2021-11-22 14:10:57 +0100
committerJuan Quintela <quintela@redhat.com>2022-01-28 15:38:23 +0100
commitfaf60935df64f4225b89c29306e0dc3ed00e1117 (patch)
treed7a07a65e2014bde5076dee28e2a07a6dc44157d /migration/multifd-zlib.c
parentcf2d4aa8a276f8540eef593141b7933487fa32b2 (diff)
multifd: recv side only needs the RAMBlock host address
So we can remove the MultiFDPages. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/multifd-zlib.c')
-rw-r--r--migration/multifd-zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/multifd-zlib.c b/migration/multifd-zlib.c
index 8239c840d3..aba1c88a0c 100644
--- a/migration/multifd-zlib.c
+++ b/migration/multifd-zlib.c
@@ -253,7 +253,7 @@ static int zlib_recv_pages(MultiFDRecvParams *p, Error **errp)
}
zs->avail_out = page_size;
- zs->next_out = p->pages->block->host + p->normal[i];
+ zs->next_out = p->host + p->normal[i];
/*
* Welcome to inflate semantics