aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-12-21 14:14:07 +0200
committerAvi Kivity <avi@redhat.com>2012-01-04 13:34:49 +0200
commit8f77558f2275f2e3bfabc5badf8fef591cd46dcf (patch)
tree1941fd644923eab84a579bbee5d6962861c246bb /exec.c
parentdc94a7ed615391219ef3ebc3705d24b5ed0e2364 (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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/exec.c b/exec.c
index a4116d91cf..28c057c086 100644
--- a/exec.c
+++ b/exec.c
@@ -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;