postcopy: Transmit and compare individual page sizes
commitef08fb389fe4ae4a8f7529ae3ec7b4274b7b5248
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 24 Feb 2017 18:28:30 +0000 (24 18:28 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:23 +0000 (28 11:30 +0000)
tree5d8d8a9ba70e62bd676b038cdd0b9fad76e56abf
parente8ca1db29b349e780743c504cb735c8e1d542a8c
postcopy: Transmit and compare individual page sizes

When using postcopy with hugepages, we require the source
and destination page sizes for any RAMBlock to match; note
that different RAMBlocks in the same VM can have different
page sizes.

Transmit them as part of the RAM information header and
fail if there's a difference.

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