diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2016-02-04 22:50:30 +0000 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-02-26 15:05:24 +0530 |
commit | bdf46d6478df86d5810048459582dc8f5a15b064 (patch) | |
tree | 725f9a2b7776cc5d4b52fda969b7645742a35f64 /po | |
parent | 0c6940d086f39bbf725d96104abe46da87429cb6 (diff) | |
download | qemu-bdf46d6478df86d5810048459582dc8f5a15b064.zip qemu-bdf46d6478df86d5810048459582dc8f5a15b064.tar.gz qemu-bdf46d6478df86d5810048459582dc8f5a15b064.tar.bz2 |
migration: reorder code to make it symmetric
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 <richard.weiyang@gmail.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1454626230-16334-1-git-send-email-richard.weiyang@gmail.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions