Currently we map these page when we want to use it, while this may be a
little late.

To make the code consistency, these two patches move the map into
postcopy_ram_incoming_setup.

Wei Yang (2):
  migration/postcopy: allocate tmp_page in setup stage
  migration/postcopy: map large zero page in
    postcopy_ram_incoming_setup()

 migration/postcopy-ram.c | 74 +++++++++++++++-------------------------
 migration/postcopy-ram.h |  7 ----
 migration/ram.c          |  2 +-
 3 files changed, 28 insertions(+), 55 deletions(-)

-- 
2.17.1


Reply via email to