]> www.infradead.org Git - users/dwmw2/qemu.git/commit
migration: Make find_dirty_block() return a single parameter
authorJuan Quintela <quintela@redhat.com>
Tue, 21 Jun 2022 11:29:36 +0000 (13:29 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 9 Feb 2023 20:13:18 +0000 (21:13 +0100)
commit816150528b6aa44d60113fe77667665eb5b8b12c
tree7fc1860c31126f03dd90caf58c5bd01ef05effbb
parent75311a67e4d3d7f1667b3a22c5f87f2ee111175c
migration: Make find_dirty_block() return a single parameter

We used to return two bools, just return a single int with the
following meaning:

old return / again / new return
false        false   PAGE_ALL_CLEAN
false        true    PAGE_TRY_AGAIN
true         true    PAGE_DIRTY_FOUND  /* We don't care about again at all */

Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c