postcopy: Load huge pages in one go
commit28abd2001445d4e702b1dc9147d0015b189cd37a
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 24 Feb 2017 18:28:37 +0000 (24 18:28 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:23 +0000 (28 11:30 +0000)
tree254587e36a3666b1517d65de0fad61cda0df3099
parent41d84210d403a686052fb5fc4c9f027e13e92185
postcopy: Load huge pages in one go

The existing postcopy RAM load loop already ensures that it
glues together whole host-pages from the target page size chunks sent
over the wire.  Modify the definition of host page that it uses
to be the RAM block page size and thus be huge pages where appropriate.

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