memory: introduce memory_region_test_and_clear_dirty
This function avoids having to do two calls, one to test the dirty bit, and
other to reset it.
Signed-off-by:
Juan Quintela <quintela@redhat.com>
Showing
Please register or sign in to comment