diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-06 18:30:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-13 16:15:09 +0100 |
commit | 77302fb5df05ffca9f41b5b54e3b67c601719d57 (patch) | |
tree | 77234cd467dc22f1a05c3ec08c9b4c7f2bb7c619 /memory.c | |
parent | f7189ac8e6bcc34a7957b1dae7ea3fbcb138fc50 (diff) | |
download | qemu-77302fb5df05ffca9f41b5b54e3b67c601719d57.zip qemu-77302fb5df05ffca9f41b5b54e3b67c601719d57.tar.gz qemu-77302fb5df05ffca9f41b5b54e3b67c601719d57.tar.bz2 |
memory: remove memory_region_test_and_clear_dirty
It is unused after g364fb has been converted to use DirtyBitmapSnapshot.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1971,14 +1971,6 @@ void memory_region_set_dirty(MemoryRegion *mr, hwaddr addr, memory_region_get_dirty_log_mask(mr)); } -bool memory_region_test_and_clear_dirty(MemoryRegion *mr, hwaddr addr, - hwaddr size, unsigned client) -{ - assert(mr->ram_block); - return cpu_physical_memory_test_and_clear_dirty( - memory_region_get_ram_addr(mr) + addr, size, client); -} - DirtyBitmapSnapshot *memory_region_snapshot_and_clear_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size, |