From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpgiI-00026K-10 for qemu-devel@nongnu.org; Thu, 29 Sep 2016 15:09:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpgiD-0007oy-PT for qemu-devel@nongnu.org; Thu, 29 Sep 2016 15:09:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpgiD-0007o7-Hg for qemu-devel@nongnu.org; Thu, 29 Sep 2016 15:09:41 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 383BF65F7F for ; Thu, 29 Sep 2016 19:09:40 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" Date: Thu, 29 Sep 2016 20:09:36 +0100 Message-Id: <1475176178-4873-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Migration/postcopy disallow huge pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, pbonzini@redhat.com, quintela@redhat.com, amit.shah@redhat.com From: "Dr. David Alan Gilbert" We've not got support for huge pages in postcopy yet, and it will error when it tries to use the userfaultfd on the hugepage, however the kernel is going to gain support for userfault so make sure we fail with a nice error on the new kernel until we figure out how to add support. Dave Dr. David Alan Gilbert (2): RAMBlocks: Store page size migration/postcopy: Explicitly disallow huge pages exec.c | 17 +++++++++++------ include/exec/cpu-common.h | 1 + include/exec/ram_addr.h | 1 + migration/postcopy-ram.c | 23 +++++++++++++++++++++++ 4 files changed, 36 insertions(+), 6 deletions(-) -- 2.7.4