diff options
author | 2019-06-10 08:41:59 +0800 | |
---|---|---|
committer | 2019-07-15 15:39:02 +0200 | |
commit | ca3538039012258973ab75775109dbe9577097f6 (patch) | |
tree | e142b47f3f757434cc4e32ff22606e618119a06a /util/bitmap.c | |
parent | migration/multifd: call multifd_send_sync_main when sending RAM_SAVE_FLAG_EOS (diff) | |
download | qemu-ca3538039012258973ab75775109dbe9577097f6.tar.xz qemu-ca3538039012258973ab75775109dbe9577097f6.zip |
migration/xbzrle: update cache and current_data in one place
When we are not in the last_stage, we need to update the cache if page
is not the same.
Currently this procedure is scattered in two places and mixed with
encoding status check.
This patch extract this general step out to make the code a little bit
easy to read.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190610004159.20966-1-richardw.yang@linux.intel.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'util/bitmap.c')
0 files changed, 0 insertions, 0 deletions