[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: reorder code to make it symmetric
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PATCH] migration: reorder code to make it symmetric |
Date: |
Mon, 22 Feb 2016 09:22:30 +0530 |
On (Thu) 04 Feb 2016 [22:50:30], Wei Yang wrote:
> In qemu_savevm_state_complete_precopy(), it iterates on each device to add
> a json object and transfer related status to destination, while the order
> of the last two steps could be refined.
>
> Current order:
>
> json_start_object()
> save_section_header()
> vmstate_save()
> json_end_object()
> save_section_footer()
>
> After the change:
>
> json_start_object()
> save_section_header()
> vmstate_save()
> save_section_footer()
> json_end_object()
>
> This patch reorder the code to to make it symmetric. No functional change.
>
> Signed-off-by: Wei Yang <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Thanks,
Amit