qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>
To: qemu-devel@nongnu.org, pbonzini@redhat.com, quintela@redhat.com,
	amit.shah@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] Migration/postcopy disallow huge pages
Date: Thu, 29 Sep 2016 20:09:36 +0100	[thread overview]
Message-ID: <1475176178-4873-1-git-send-email-dgilbert@redhat.com> (raw)

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

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

             reply	other threads:[~2016-09-29 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29 19:09 Dr. David Alan Gilbert (git) [this message]
2016-09-29 19:09 ` [Qemu-devel] [PATCH 1/2] RAMBlocks: Store page size Dr. David Alan Gilbert (git)
2016-09-29 19:09 ` [Qemu-devel] [PATCH 2/2] migration/postcopy: Explicitly disallow huge pages Dr. David Alan Gilbert (git)
2016-09-30  8:09   ` Daniel P. Berrange
2016-10-05  9:54     ` Dr. David Alan Gilbert
2016-10-05 10:02     ` Juan Quintela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475176178-4873-1-git-send-email-dgilbert@redhat.com \
    --to=dgilbert@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).