postcopy: Send whole huge pages
commit4c011c37ecb37690b3c6463db78c71855694a911
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 24 Feb 2017 18:28:39 +0000 (24 18:28 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:24 +0000 (28 11:30 +0000)
treedfaa89b39faa00b277e0f2a436474ec4190e7c9b
parent332847f0757ee057865fb989e70373092b3b4692
postcopy: Send whole huge pages

The RAM save code uses ram_save_host_page to send whole
host pages at a time;  change this to use the host page size associated
with the RAM Block which may be a huge page.

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-12-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c