migration: Simplify ram_find_and_save_block()
authorJuan Quintela <quintela@redhat.com>
Tue, 21 Jun 2022 11:20:35 +0000 (13:20 +0200)
committerJuan Quintela <quintela@redhat.com>
Sat, 11 Feb 2023 15:51:09 +0000 (16:51 +0100)
commit51efd36faf2553d9f311cece14198c2ba7ece991
tree2a35dbebd7bf6e02fcc6afb232de715d6e0f9ab9
parentc40c0463413b941c13fe5f99a90c02d7d6584828
migration: Simplify ram_find_and_save_block()

We will need later that find_dirty_block() return errors, so
simplify the loop.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c