]> Git Repo - qemu.git/commit
postcopy: Require RAMBlocks that are whole pages
authorDr. David Alan Gilbert <[email protected]>
Wed, 17 May 2017 16:58:10 +0000 (17:58 +0100)
committerJuan Quintela <[email protected]>
Thu, 18 May 2017 16:04:53 +0000 (18:04 +0200)
commit5d214a92acb38979ee1abd1883a225903cb171b6
tree6be7615349430bc9ff5912f46143f52e0a5f4d7d
parent1eb3fc0a0b61b5d22adee2a9add3162a6c03a47e
postcopy: Require RAMBlocks that are whole pages

It turns out that it's legal to create a VM with RAMBlocks that aren't
a multiple of the pagesize in use; e.g. a 1025M main memory using
2M host pages.  That breaks postcopy's atomic placement of pages,
so disallow it.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/postcopy-ram.c
This page took 0.025303 seconds and 4 git commands to generate.