Re: [Qemu-devel] [PATCHv2 for-1.4] vhost: memory sync fixes

2013-02-26 Thread Jason Wang
On 02/26/2013 06:11 PM, Michael S. Tsirkin wrote: > This fixes two bugs related to memory sync during > migration: > - ram address calculation was missing the chunk > address, so the wrong page was dirtied > - one after last was used instead of the > end address of a region, whi

[Qemu-devel] [PATCHv2 for-1.4] vhost: memory sync fixes

2013-02-26 Thread Michael S. Tsirkin
This fixes two bugs related to memory sync during migration: - ram address calculation was missing the chunk address, so the wrong page was dirtied - one after last was used instead of the end address of a region, which might overflow to 0 and cause us to skip the region w