[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] memory: correct the comment to DIRTY_MEMORY_MIG
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] memory: correct the comment to DIRTY_MEMORY_MIGRATION |
Date: |
Tue, 30 Apr 2019 21:14:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 26/04/19 04:09, Wei Yang wrote:
> The dirty bit is DIRTY_MEMORY_MIGRATION. Correct the comment.
>
> Signed-off-by: Wei Yang <address@hidden>
> ---
> memory.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/memory.c b/memory.c
> index e49369d85d..9d015bfe4c 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -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();
>
Queued, thanks.
Paolo