memory: make cpu_physical_memory_reset_dirty() take a length parameter
commita2f4d5bef2cfde557d76fc45a40d2c89b6bed4e4
authorJuan Quintela <quintela@redhat.com>
Thu, 10 Oct 2013 09:49:53 +0000 (10 11:49 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 13 Jan 2014 13:04:54 +0000 (13 14:04 +0100)
tree121ff9e8a2ec9b9e1e687aae8e5df85747aaa0f5
parenta2cd8c852d2d8c2a084b68b2470f214d6726f6d2
memory: make cpu_physical_memory_reset_dirty() take a length parameter

We have an end parameter in all the callers, and this make it coherent
with the rest of cpu_physical_memory_* functions, that also take a
length parameter.

Once here, move the start/end calculation to
tlb_reset_dirty_range_all() as we don't need it here anymore.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
cputlb.c
exec.c
include/exec/memory-internal.h
memory.c