]> git.proxmox.com Git - mirror_qemu.git/commit
migration/postcopy: unsentmap is not necessary for postcopy
authorWei Yang <richardw.yang@linux.intel.com>
Mon, 19 Aug 2019 06:18:42 +0000 (14:18 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 25 Sep 2019 14:51:19 +0000 (15:51 +0100)
commit1e7cf8c323f65c3eab99b2c7a7488dd71884ea10
tree350d0b2e969b6691fe3a1306499299f555d3eb48
parent8324ef86f004b1224844267d1fbbf4a80a54207d
migration/postcopy: unsentmap is not necessary for postcopy

Commit f3f491fcd6dd594ba695 ('Postcopy: Maintain unsentmap') introduced
unsentmap to track not yet sent pages.

This is not necessary since:

    * unsentmap is a sub-set of bmap before postcopy start
    * unsentmap is the summation of bmap and unsentmap after canonicalizing

This patch just removes it.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190819061843.28642-3-richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
include/exec/ram_addr.h
migration/ram.c