diff options
author | Wei Yang | 2019-08-19 08:18:42 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-09-25 16:51:19 +0200 |
commit | 1e7cf8c323f65c3eab99b2c7a7488dd71884ea10 (patch) | |
tree | 350d0b2e969b6691fe3a1306499299f555d3eb48 /include/exec/ram_addr.h | |
parent | migration/postcopy: not necessary to do discard when canonicalizing bitmap (diff) | |
download | qemu-1e7cf8c323f65c3eab99b2c7a7488dd71884ea10.tar.gz qemu-1e7cf8c323f65c3eab99b2c7a7488dd71884ea10.tar.xz qemu-1e7cf8c323f65c3eab99b2c7a7488dd71884ea10.zip |
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>
Diffstat (limited to 'include/exec/ram_addr.h')
-rw-r--r-- | include/exec/ram_addr.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index a327a80cfe..e96e621de5 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -44,12 +44,6 @@ struct RAMBlock { size_t page_size; /* dirty bitmap used during migration */ unsigned long *bmap; - /* bitmap of pages that haven't been sent even once - * only maintained and used in postcopy at the moment - * where it's used to send the dirtymap at the start - * of the postcopy phase - */ - unsigned long *unsentmap; /* bitmap of already received pages in postcopy */ unsigned long *receivedmap; |