]> git.proxmox.com Git - qemu.git/commit - memory.c
memory: introduce memory_region_test_and_clear_dirty
authorJuan Quintela <quintela@redhat.com>
Wed, 17 Oct 2012 18:24:28 +0000 (20:24 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:09:39 +0000 (23:09 +0100)
commit6c279db8ee99e64e498447c67c16e987150be96b
tree3d8080a95dec3133a71adcc871c58eaf41b68d70
parent5f718a15d0db3775bbcf2755a35dd6b019bcff8b
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>
include/exec/memory.h
memory.c