diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-21 14:14:07 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-01-04 13:34:49 +0200 |
commit | 8f77558f2275f2e3bfabc5badf8fef591cd46dcf (patch) | |
tree | 1941fd644923eab84a579bbee5d6962861c246bb /exec.c | |
parent | dc94a7ed615391219ef3ebc3705d24b5ed0e2364 (diff) |
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>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -2008,19 +2008,9 @@ int cpu_physical_memory_set_dirty_tracking(int enable) { int ret = 0; in_migration = enable; - if (enable) { - memory_global_dirty_log_start(); - } else { - memory_global_dirty_log_stop(); - } return ret; } -int cpu_physical_memory_get_dirty_tracking(void) -{ - return in_migration; -} - static inline void tlb_update_dirty(CPUTLBEntry *tlb_entry) { ram_addr_t ram_addr; |