diff options
author | Juan Quintela <quintela@redhat.com> | 2013-10-08 12:31:54 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2014-01-13 14:04:53 +0100 |
commit | 75218e7f2b7f052c6f44489afaf45b3ea4369f45 (patch) | |
tree | 32f814987897c10fb39e0b646308404ec25760c0 /memory.c | |
parent | 63995cebfaa283586682ea6236c9686b2a49ece7 (diff) | |
download | hqemu-75218e7f2b7f052c6f44489afaf45b3ea4369f45.zip hqemu-75218e7f2b7f052c6f44489afaf45b3ea4369f45.tar.gz |
memory: cpu_physical_memory_set_dirty_range() always dirty all flags
So remove the flag argument and do it directly. After this change,
there is nothing else using cpu_physical_memory_set_dirty_flags() so
remove it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1182,7 +1182,7 @@ void memory_region_set_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size) { assert(mr->terminates); - cpu_physical_memory_set_dirty_range(mr->ram_addr + addr, size, -1); + cpu_physical_memory_set_dirty_range(mr->ram_addr + addr, size); } bool memory_region_test_and_clear_dirty(MemoryRegion *mr, hwaddr addr, |