Signed-off-by: Juan Quintela <quint...@redhat.com> Reviewed-by: Orit Wasserman <owass...@redhat.com> Reviewed-by: Eric Blake <ebl...@redhat.com> --- memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memory.c b/memory.c index 7764314..e497f99 100644 --- a/memory.c +++ b/memory.c @@ -1182,7 +1182,7 @@ void memory_region_set_dirty(MemoryRegion *mr, hwaddr addr, hwaddr size) { assert(mr->terminates); - return cpu_physical_memory_set_dirty_range(mr->ram_addr + addr, size, -1); + cpu_physical_memory_set_dirty_range(mr->ram_addr + addr, size, -1); } bool memory_region_test_and_clear_dirty(MemoryRegion *mr, hwaddr addr, -- 1.8.3.1