diff options
author | Avi Kivity <avi@redhat.com> | 2012-02-08 17:07:26 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-02-29 13:44:42 +0200 |
commit | d7ec83e6b57f48cf07f663e232e4aa2b32bc33c7 (patch) | |
tree | a6d308d1a6d8c095b84c7184080aa1e7059a0780 /memory.c | |
parent | 7a8499e88bffff66d90300d4f2018c938543b1cf (diff) |
memory: don't pass ->readable attribute to cpu_register_physical_memory_log
It can be derived from the MemoryRegion itself (which is why it is not
used there).
Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -346,7 +346,7 @@ static void as_memory_range_add(AddressSpace *as, FlatRange *fr) .readonly = fr->readonly, }; - cpu_register_physical_memory_log(§ion, fr->readable, fr->readonly); + cpu_register_physical_memory_log(§ion, fr->readonly); } static void as_memory_range_del(AddressSpace *as, FlatRange *fr) @@ -359,7 +359,7 @@ static void as_memory_range_del(AddressSpace *as, FlatRange *fr) .readonly = fr->readonly, }; - cpu_register_physical_memory_log(§ion, true, false); + cpu_register_physical_memory_log(§ion, false); } static void as_memory_log_start(AddressSpace *as, FlatRange *fr) |