memory: correct the comment to DIRTY_MEMORY_MIGRATION
PATCH 1/1 memory: correct the comment to DIRTY_MEMORY_MIGRATION
The dirty bit is DIRTY_MEMORY_MIGRATION. Correct the comment.
Signed-off-by Wei Yang <[email protected]>
--- memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
memory.c +2 -2
@@ -2576,7 +2576,7 @@ void memory_global_dirty_log_start(void)MEMORY_LISTENER_CALL_GLOBAL (log_global_start, Forward); -/* Refresh DIRTY_LOG_MIGRATION bit. */ +/* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin (); memory_region_update_pending = true;memory_region_transaction_commit ();
@@ -2586,7 +2586,7 @@ static void memory_global_dirty_log_do_stop(void) { global_dirty_log = false; -/* Refresh DIRTY_LOG_MIGRATION bit. */ +/* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin (); memory_region_update_pending = true;memory_region_transaction_commit ();
Signature · 1 line
2.19.1
Paolo Bonzini
AppliedQuoted 22 lines · Wei Yang
The dirty bit is
DIRTY_MEMORY_MIGRATION. Correct the comment.Signed-off-by Wei Yang <[email protected]>--- memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)memory.c +1
-1@@ -2576,7 +2576,7 @@ void memory_global_dirty_log_start(void)MEMORY_LISTENER_CALL_GLOBAL (log_global_start, Forward); -/* Refresh DIRTY_LOG_MIGRATION bit. */ +/* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin (); memory_region_update_pending = true;memory_region_transaction_commit ();
memory.c static void memory_global_dirty_log_do_stop(void) · line 2592
Quoted 8 lines
memory.c +1
-1@@ -2586,7 +2586,7 @@ static void memory_global_dirty_log_do_stop(void) { global_dirty_log = false; -/* Refresh DIRTY_LOG_MIGRATION bit. */ +/* Refresh DIRTY_MEMORY_MIGRATION bit. */ memory_region_transaction_begin (); memory_region_update_pending = true;memory_region_transaction_commit ();
Queued, thanks.
Paolo