]> xenbits.xensource.com Git - qemu-xen.git/commit
migration: No off-by-one for pss->page update in host page size
authorPeter Xu <peterx@redhat.com>
Wed, 19 Jan 2022 08:09:15 +0000 (16:09 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Jan 2022 14:38:23 +0000 (15:38 +0100)
commit258f5c9825a9fb77aeae8a9d8c0877e714c090e2
treecd0c6043d36a539c431029c54d6e25b2543496c5
parentae6806688016711bb9ec7541266d76ab511c5e3b
migration: No off-by-one for pss->page update in host page size

We used to do off-by-one fixup for pss->page when finished one host huge page
transfer.  That seems to be unnecesary at all.  Drop it.

Cc: Keqian Zhu <zhukeqian1@huawei.com>
Cc: Kunkun Jiang <jiangkunkun@huawei.com>
Cc: Andrey Gruzdev <andrey.gruzdev@virtuozzo.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c