diff options
author | Juan Quintela <quintela@redhat.com> | 2021-11-22 14:10:57 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2022-01-28 15:38:23 +0100 |
commit | faf60935df64f4225b89c29306e0dc3ed00e1117 (patch) | |
tree | d7a07a65e2014bde5076dee28e2a07a6dc44157d /migration/multifd-zstd.c | |
parent | cf2d4aa8a276f8540eef593141b7933487fa32b2 (diff) | |
download | qemu-faf60935df64f4225b89c29306e0dc3ed00e1117.zip qemu-faf60935df64f4225b89c29306e0dc3ed00e1117.tar.gz qemu-faf60935df64f4225b89c29306e0dc3ed00e1117.tar.bz2 |
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-zstd.c')
-rw-r--r-- | migration/multifd-zstd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/multifd-zstd.c b/migration/multifd-zstd.c index c5ed72d..d788d30 100644 --- a/migration/multifd-zstd.c +++ b/migration/multifd-zstd.c @@ -264,7 +264,7 @@ static int zstd_recv_pages(MultiFDRecvParams *p, Error **errp) z->in.pos = 0; for (i = 0; i < p->normal_num; i++) { - z->out.dst = p->pages->block->host + p->normal[i]; + z->out.dst = p->host + p->normal[i]; z->out.size = page_size; z->out.pos = 0; |