summaryrefslogtreecommitdiffstats
path: root/migration/xbzrle.c
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2016-02-04 22:50:30 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:59 -0600
commit1a14863c482ca4404d58dfeb5937c78d56cdd559 (patch)
treef0785c583c5a04af7bd630a1900797f3b3460bdf /migration/xbzrle.c
parent3e827f50f372e562e9639fa83eff98b0cc02d9ba (diff)
downloadhqemu-1a14863c482ca4404d58dfeb5937c78d56cdd559.zip
hqemu-1a14863c482ca4404d58dfeb5937c78d56cdd559.tar.gz
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 'migration/xbzrle.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud