[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] migration: cleanup check on ops in savevm.ha
From: |
Wei Yang |
Subject: |
Re: [Qemu-devel] [PATCH v2] migration: cleanup check on ops in savevm.handlers iterations |
Date: |
Mon, 19 Aug 2019 14:09:25 +0000 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Aug 19, 2019 at 03:50:44PM +0200, Juan Quintela wrote:
>Wei Yang <address@hidden> wrote:
>> During migration, there are several places to iterate on
>> savevm.handlers. And on each iteration, we need to check its ops and
>> related callbacks before invoke it.
>>
>> Generally, ops is the first element to check, and it is only necessary
>> to check it once.
>>
>> This patch clean all the related part in savevm.c to check ops only once
>> in those iterations.
>>
>> Signed-off-by: Wei Yang <address@hidden>
>
>Reviewed-by: Juan Quintela <address@hidden>
>
>Nice cleanup.
Thanks
--
Wei Yang
Help you, Help me