mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
Unfortunately, commitf7b9dcfbcf
broke populate_read_range(): the loop end condition is very wrong, resulting in that function not populating the full range. Lets' fix that. Fixes:f7b9dcfbcf
("migration/ram: Factor out populating pages readable in ram_block_populate_pages()") Cc: qemu-stable@nongnu.org Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> (cherry picked from commit5f19a44919
) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>