]> git.proxmox.com Git - mirror_qemu.git/commit
migration/savevm: wrap into qemu_loadvm_state_header()
authorWei Yang <richardw.yang@linux.intel.com>
Wed, 24 Apr 2019 00:47:00 +0000 (08:47 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 14 May 2019 16:33:35 +0000 (17:33 +0100)
commit16015d32e4715d187d2d38561cdcd22f3a0294c0
tree8ec293f3e1f495e4893c46b4a04ac3eae9987472
parent9e14b849082755c80efe59d7a4e5a77b5ac24877
migration/savevm: wrap into qemu_loadvm_state_header()

On source side, we have qemu_savevm_state_header() to send related data,
while on the receiving side those steps are scattered in
qemu_loadvm_state().

This patch wrap those related steps into qemu_loadvm_state_header() to
make it friendly to read.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190424004700.12766-5-richardw.yang@linux.intel.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/savevm.c