qemu-e2k/migration
Wei Yang ca35380390 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>
2019-07-15 15:39:02 +02:00
..
block-dirty-bitmap.c migration/dirty-bitmaps: change bitmap enumeration method 2019-05-28 19:33:31 -04:00
block.c block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
block.h
channel.c migration: fix the multifd code when receiving less channels 2019-01-23 15:02:07 +00:00
channel.h
colo-failover.c migration/colo.c: Remove redundant input parameter 2019-05-14 17:33:35 +01:00
colo.c migration/colo.c: Add missed filter notify for Xen COLO. 2019-07-02 10:21:07 +08:00
exec.c
exec.h
fd.c migration: Fix fd protocol for incoming defer 2019-06-05 12:43:55 +02:00
fd.h migration: Fix fd protocol for incoming defer 2019-06-05 12:43:55 +02:00
global_state.c migration: Use strnlen() for fixed-size string 2019-01-17 21:10:57 -05:00
Makefile.objs COLO: Remove colo_state migration struct 2018-10-19 11:15:03 +08:00
migration.c migration: Fix typo in migrate_add_blocker() error message 2019-05-22 17:35:27 +02:00
migration.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
page_cache.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
page_cache.h
postcopy-ram.c general: Replace global smp variables with smp machine properties 2019-07-05 17:07:36 -03:00
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qemu-file.h slirp: use libslirp migration code 2019-03-07 12:46:31 +01:00
qjson.c
qjson.h
ram.c migration/xbzrle: update cache and current_data in one place 2019-07-15 15:39:02 +02:00
ram.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
rdma.c migration: move port_attr inside CONFIG_LINUX 2019-07-04 19:23:07 +01:00
rdma.h
savevm.c migration/savevm: wrap into qemu_loadvm_state_header() 2019-05-14 17:33:35 +01:00
savevm.h savevm: split the process of different stages for loadvm/savevm 2018-10-19 11:15:03 +08:00
socket.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
socket.h
tls.c migration: add support for a "tls-authz" migration parameter 2019-03-25 18:13:47 +01:00
tls.h
trace-events migration: fix multifd_recv event typo 2019-07-15 15:39:01 +02:00
vmstate-types.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
vmstate.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
xbzrle.c
xbzrle.h