]> git.proxmox.com Git - mirror_qemu.git/commit
migration/postcopy: Explicitly disallow huge pages
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 29 Sep 2016 19:09:38 +0000 (20:09 +0100)
committerJuan Quintela <quintela@trasno.org>
Thu, 13 Oct 2016 15:23:53 +0000 (17:23 +0200)
commit5cf0f48d2aa860877c992030854540ba82dfe8fa
tree634a61fc80dab6e919b863d92e35ee72e843be3c
parent863e9621c51a7544f1a2ae78387749145adaf450
migration/postcopy: Explicitly disallow huge pages

At the moment postcopy will fail as soon as qemu tries to register
userfault on the RAMBlock pages that are backed by hugepages.
However, the kernel is going to get userfault support for hugepage
at some point, and we've not got the rest of the QEMU code to support
it yet, so fail neatly with an error like:

Postcopy doesn't support hugetlbfs yet (/objects/mem1)

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/postcopy-ram.c