[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/51] ram: Move start time into RAMState
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PATCH 06/51] ram: Move start time into RAMState |
Date: |
Tue, 28 Mar 2017 13:00:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Peter Xu <address@hidden> wrote:
> On Thu, Mar 23, 2017 at 09:44:59PM +0100, Juan Quintela wrote:
>> Signed-off-by: Juan Quintela <address@hidden>
>> Reviewed-by: Dr. David Alan Gilbert <address@hidden>
>> ---
>> migration/ram.c | 20 +++++++++++---------
>> 1 file changed, 11 insertions(+), 9 deletions(-)
>>
>> diff --git a/migration/ram.c b/migration/ram.c
>> index f811e81..5881805 100644
>> --- a/migration/ram.c
>> +++ b/migration/ram.c
>> @@ -154,6 +154,9 @@ struct RAMState {
>> int dirty_rate_high_cnt;
>> /* How many times we have synchronized the bitmap */
>> uint64_t bitmap_sync_count;
>> + /* this variables are used for bitmap sync */
>
> s/this/These/?
>
>> + /* last time we did a full bitmap_sync */
>> + int64_t start_time;
>
> Not sure whether it'll be a good chance we rename this variable in
> this patch to make it a less-generic name, like: bm_sync_start? But
> again, this is nicpicking and totally optional.
I changed it to time_last_bitmap_sync.
Thanks, Juan.
>
> With the typo fixed, please add:
>
> Reviewed-by: Peter Xu <address@hidden>
>
> Thanks,
>
> -- peterx
- Re: [Qemu-devel] [PATCH 02/51] ram: rename block_name to rbname, (continued)
[Qemu-devel] [PATCH 03/51] ram: Create RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 06/51] ram: Move start time into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 05/51] ram: Move bitmap_sync_count into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 04/51] ram: Add dirty_rate_high_cnt to RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 07/51] ram: Move bytes_xfer_prev into RAMState, Juan Quintela, 2017/03/23