summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2014-11-17 16:54:07 +0100
committerMichael S. Tsirkin2015-01-08 12:17:54 +0100
commitc8d6f66ae7d0ce5f3622c19e29a2333d28dc1e9a (patch)
tree461618ac669ed4d301775dbf48419305815c7790 /exec.c
parentmemory: add memory_region_set_size (diff)
downloadqemu-c8d6f66ae7d0ce5f3622c19e29a2333d28dc1e9a.tar.gz
qemu-c8d6f66ae7d0ce5f3622c19e29a2333d28dc1e9a.tar.xz
qemu-c8d6f66ae7d0ce5f3622c19e29a2333d28dc1e9a.zip
exec: cpu_physical_memory_set/clear_dirty_range
Make cpu_physical_memory_set/clear_dirty_range behave symmetrically. To clear range for a given client type only, add cpu_physical_memory_clear_dirty_range_type. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 963481a181..a89aa6ca97 100644
--- a/exec.c
+++ b/exec.c
@@ -850,7 +850,7 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t length,
{
if (length == 0)
return;
- cpu_physical_memory_clear_dirty_range(start, length, client);
+ cpu_physical_memory_clear_dirty_range_type(start, length, client);
if (tcg_enabled()) {
tlb_reset_dirty_range_all(start, length);