Browse Source

memory: correct the comment to DIRTY_MEMORY_MIGRATION

The dirty bit is DIRTY_MEMORY_MIGRATION. Correct the comment.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <2019042602.25470-1-richardw.yang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
master
Wei Yang 2 months ago
parent
commit
39adb536b3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      memory.c

+ 2
- 2
memory.c View File

@@ -2584,7 +2584,7 @@ void memory_global_dirty_log_start(void)
2584 2584
 
2585 2585
     MEMORY_LISTENER_CALL_GLOBAL(log_global_start, Forward);
2586 2586
 
2587
-    /* Refresh DIRTY_LOG_MIGRATION bit.  */
2587
+    /* Refresh DIRTY_MEMORY_MIGRATION bit.  */
2588 2588
     memory_region_transaction_begin();
2589 2589
     memory_region_update_pending = true;
2590 2590
     memory_region_transaction_commit();
@@ -2594,7 +2594,7 @@ static void memory_global_dirty_log_do_stop(void)
2594 2594
 {
2595 2595
     global_dirty_log = false;
2596 2596
 
2597
-    /* Refresh DIRTY_LOG_MIGRATION bit.  */
2597
+    /* Refresh DIRTY_MEMORY_MIGRATION bit.  */
2598 2598
     memory_region_transaction_begin();
2599 2599
     memory_region_update_pending = true;
2600 2600
     memory_region_transaction_commit();

Loading…
Cancel
Save