]> git.proxmox.com Git - mirror_qemu.git/commit
migration/postcopy: set all_zero to true on the first target page
authorWei Yang <richardw.yang@linux.intel.com>
Thu, 7 Nov 2019 12:39:05 +0000 (20:39 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:23 +0000 (09:10 +0100)
commite5e73b0f90d0ac956782378b92897455e8104a7e
tree97cf869b1205d6f2dfe145272ca28d3b7fc0cf2c
parent4cbb3c63c165ae71b71f764030c7b16d98679391
migration/postcopy: set all_zero to true on the first target page

For the first target page, all_zero is set to true for this round check.

After target_pages introduced, we could leverage this variable instead
of checking the address offset.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c