diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-02-21 13:16:06 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-02-26 23:59:15 +0200 |
commit | 6b37a23df98faa26391a93373930bfb15b943e00 (patch) | |
tree | ad5a2141eebf95163f2bc8b65903ee968320ad4e /hw/e1000.c | |
parent | 864a556e9a800116a305f10fbb714268ca7e9bc3 (diff) | |
download | qemu-6b37a23df98faa26391a93373930bfb15b943e00.zip qemu-6b37a23df98faa26391a93373930bfb15b943e00.tar.gz qemu-6b37a23df98faa26391a93373930bfb15b943e00.tar.bz2 |
vhost: memory sync fixes
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 when the region ends at
~0x0ull.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/e1000.c')
0 files changed, 0 insertions, 0 deletions