[PULL 12/17] migration/ram: Handle RAM block resizes during postcopy

2021-05-13 Thread Dr. David Alan Gilbert (git)
From: David Hildenbrand Resizing while migrating is dangerous and does not work as expected. The whole migration code works with the usable_length of a ram block and does not expect this value to change at random points in time. In the case of postcopy, relying on used_length is racy as soon as

[PULL 12/17] migration/ram: Handle RAM block resizes during postcopy

2021-05-11 Thread Dr. David Alan Gilbert (git)
From: David Hildenbrand Resizing while migrating is dangerous and does not work as expected. The whole migration code works with the usable_length of a ram block and does not expect this value to change at random points in time. In the case of postcopy, relying on used_length is racy as soon as