mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
memory: obsolete cpu_physical_memory_[gs]et_dirty_tracking()
The getter is no longer used, so it is completely removed. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
dc94a7ed61
commit
8f77558f22
5 changed files with 7 additions and 18 deletions
2
memory.c
2
memory.c
|
@ -1493,6 +1493,7 @@ void memory_global_dirty_log_start(void)
|
|||
{
|
||||
MemoryListener *listener;
|
||||
|
||||
cpu_physical_memory_set_dirty_tracking(1);
|
||||
global_dirty_log = true;
|
||||
QLIST_FOREACH(listener, &memory_listeners, link) {
|
||||
listener->log_global_start(listener);
|
||||
|
@ -1507,6 +1508,7 @@ void memory_global_dirty_log_stop(void)
|
|||
QLIST_FOREACH(listener, &memory_listeners, link) {
|
||||
listener->log_global_stop(listener);
|
||||
}
|
||||
cpu_physical_memory_set_dirty_tracking(0);
|
||||
}
|
||||
|
||||
static void listener_add_address_space(MemoryListener *listener,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue