diff options
| author | Wei Yang <richardw.yang@linux.intel.com> | 2019-08-19 14:18:41 +0800 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-09-25 15:51:19 +0100 |
| commit | 8324ef86f004b1224844267d1fbbf4a80a54207d (patch) | |
| tree | 65839a17cf4c8c6e8ae7bc3726abc991833bc7e9 /scripts/qapi/common.py | |
| parent | 91490583f3cc8613159008502decf2f1481508fd (diff) | |
| download | focaccia-qemu-8324ef86f004b1224844267d1fbbf4a80a54207d.tar.gz focaccia-qemu-8324ef86f004b1224844267d1fbbf4a80a54207d.zip | |
migration/postcopy: not necessary to do discard when canonicalizing bitmap
All pages, either partially sent or partially dirty, will be discarded in postcopy_send_discard_bm_ram(), since we update the unsentmap to be unsentmap = unsentmap | dirty in ram_postcopy_send_discard_bitmap(). This is not necessary to do discard when canonicalizing bitmap. And by doing so, we separate the page discard into two individual steps: * canonicalize bitmap * discard page Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190819061843.28642-2-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 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions