ram: Use memory_region_test_and_clear_dirty
This avoids having to do two walks over the dirty bitmap, once reading
the dirty bits, and anthoer cleaning them.
Signed-off-by:
Juan Quintela <quintela@redhat.com>
Showing
Please register or sign in to comment