From: Avi Kivity <avi@redhat.com>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: AMD-Intel guest migration and CPUs without NX
Date: Tue, 24 Mar 2009 14:40:04 +0200 [thread overview]
Message-ID: <49C8D4A4.2000606@redhat.com> (raw)
In-Reply-To: <49C8BA8F.8000008@wpkg.org>
Tomasz Chmielewski wrote:
> I have an older Intel CPU which doesn't support NX (/proc/cpuinfo -
> below). Is it safe to migrate guests running on newer CPUs to this
> older CPU? I made some simple tests and migration works, but I'm not
> sure if the guests will be stable after such migration.
>
>
> I'm also a bit confused a bit over what the documentation says:
>
> According to http://www.linux-kvm.org/page/Migration:
>
> There are some older Intel processors which don't support NX (or XD),
> which may cause problems in a cluster which includes NX-supporting
> hosts. We may add a feature to hide NX if this proves to be a problem
> in actual deployments.
>
>
> So the above says I may have some problems.
Right, it's not safe in general. It may work if the guest doesn't use
NX. It may also work if the guest does not rely on NX working properly.
>
> On the other hand, FAQ below seems to indicate that migration on 64
> bit hosts should be fine (even when they don't support NX?), only 32
> bit hosts may have problems:
>
> http://www.linux-kvm.org/page/FAQ
>
> Yes. There may be issues on 32-bit Intel hosts which don't support NX
> (or XD), but for 64-bit hosts back and forth migration should work
> well. Migration of 32-bit guests should work between 32-bit hosts and
> 64-bit hosts.
Looks like that paragraph assumes that all 64-bit hosts have NX. Your
/proc/cpuinfo proves otherwise.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
next prev parent reply other threads:[~2009-03-24 12:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 10:48 AMD-Intel guest migration and CPUs without NX Tomasz Chmielewski
2009-03-24 12:40 ` Avi Kivity [this message]
2009-03-24 13:38 ` Tomasz Chmielewski
2009-03-24 13:47 ` Avi Kivity
2009-03-24 14:01 ` Tomasz Chmielewski
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=49C8D4A4.2000606@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mangoo@wpkg.org \
/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