summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorAnthony PERARD2012-10-03 15:49:22 +0200
committerStefano Stabellini2012-10-03 15:49:22 +0200
commite226939de5814527a21396903b08c3d0ed989558 (patch)
treebf7f5a5fa5d0a8dabbc91758156ed2773d9933ff /exec.c
parentexec: Introduce helper to set dirty flags. (diff)
downloadqemu-e226939de5814527a21396903b08c3d0ed989558.tar.gz
qemu-e226939de5814527a21396903b08c3d0ed989558.tar.xz
qemu-e226939de5814527a21396903b08c3d0ed989558.zip
exec, memory: Call to xen_modified_memory.
This patch add some calls to xen_modified_memory to notify Xen about dirtybits during migration. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 366684cd78..1114a0932b 100644
--- a/exec.c
+++ b/exec.c
@@ -3427,6 +3427,7 @@ static void invalidate_and_set_dirty(target_phys_addr_t addr,
/* set dirty bit */
cpu_physical_memory_set_dirty_flags(addr, (0xff & ~CODE_DIRTY_FLAG));
}
+ xen_modified_memory(addr, length);
}
void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf,