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 <[email protected]>

Reviewed-by: Amit Shah <[email protected]>

Thanks,

                Amit

Reply via email to