diff mbox

[2/6] make cpu_physical_memory_set_dirty_tracking equal to upstream

Message ID 20100323165346.933160141@amt.cnet (mailing list archive)
State New, archived
Headers show

Commit Message

Marcelo Tosatti March 23, 2010, 4:53 p.m. UTC
None
diff mbox

Patch

Index: qemu-kvm-cleanups/exec.c
===================================================================
--- qemu-kvm-cleanups.orig/exec.c
+++ qemu-kvm-cleanups/exec.c
@@ -2003,7 +2003,7 @@  void cpu_physical_memory_reset_dirty(ram
 int cpu_physical_memory_set_dirty_tracking(int enable)
 {
     int ret = 0;
-
+    in_migration = enable;
     ret = cpu_notify_migration_log(!!enable);
     return ret;
 }