Skip to content
Snippets Groups Projects
Commit c1668bde authored by David Hildenbrand's avatar David Hildenbrand Committed by Dr. David Alan Gilbert
Browse files

migration/multifd: Print used_length of memory block


We actually want to print the used_length, against which we check.

Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
Message-Id: <20210429112708.12291-10-david@redhat.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent 898ba906
No related branches found
No related tags found
No related merge requests found
......@@ -361,7 +361,7 @@ static int multifd_recv_unfill_packet(MultiFDRecvParams *p, Error **errp)
if (offset > (block->used_length - qemu_target_page_size())) {
error_setg(errp, "multifd: offset too long %" PRIu64
" (max " RAM_ADDR_FMT ")",
offset, block->max_length);
offset, block->used_length);
return -1;
}
p->pages->iov[i].iov_base = block->host + offset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment