]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
postcopy: Chunk discards for hugepages
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 24 Feb 2017 18:28:31 +0000 (18:28 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:23 +0000 (11:30 +0000)
commit29c59172015b24b442b2d85fa3b2382e262f3d74
tree7267fbb64b93b65dfa251dce2a0d20ceffedfc92
parentef08fb389fe4ae4a8f7529ae3ec7b4274b7b5248
postcopy: Chunk discards for hugepages

At the start of the postcopy phase, partially sent huge pages
must be discarded.  The code for dealing with host page sizes larger
than the target page size can be reused for this case.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20170224182844.32452-4-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c