]> git.proxmox.com Git - qemu.git/commit - arch_init.c
ram: Use memory_region_test_and_clear_dirty
authorJuan Quintela <quintela@redhat.com>
Wed, 17 Oct 2012 18:27:15 +0000 (20:27 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:09:40 +0000 (23:09 +0100)
commitece7931817e03a4d946c15716fab5e4f781663c9
treef7e999ae846287b4465a5764f5a8f517d52036e0
parent6c279db8ee99e64e498447c67c16e987150be96b
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>
arch_init.c