All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Andre Przywara <andre.przywara@amd.com>
Cc: kvm@vger.kernel.org, nuitari-kvm@nuitari.net, thomas.besser@kit.edu
Subject: Re: [PATCH] Fix sysenter migration issue on AMD CPUs
Date: Sun, 23 Aug 2009 13:05:15 +0300	[thread overview]
Message-ID: <4A91145B.5080504@redhat.com> (raw)
In-Reply-To: <1250855924-13762-1-git-send-email-andre.przywara@amd.com>

On 08/21/2009 02:58 PM, Andre Przywara wrote:
> To enable cross-vendor migration we use VMCB external variables to hold
> the full 64bit value of the SYSENTER MSRs, which get truncated to 32bit
> on AMD hardware. Since we didn't intercept these MSRs, these
> variables were only used in the emulation case, but were _always_ used
> for migration purposes. This worked fine for cross-vendor migration in
> compat mode, but did not work in pure legacy mode.
> To fix this we always intercept the SYSENTER MSRs and store the values
> both in the VMCB and the external variables. This works for all cases.
>
> Signed-off-by: Andre Przywara<andre.przywara@amd.com>
> ---
>   arch/x86/kvm/svm.c |    9 ++++-----
>   1 files changed, 4 insertions(+), 5 deletions(-)
>
> Hi Avi,
>
> this should fix the problem seen by Stephane and Thomas this week.
> Please revert 8b2f9d194288982d654c1afef491dfdf75ec1ba9 (your proposed fix,
> which broke cross-vendor migration) and apply this patch afterwards.
> It worked for me with both 32on32 and 32on64 migration both cross-vendor
> and between two AMD machines.
>    

Reverted and applied; thanks.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2009-08-23 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21 11:58 [PATCH] Fix sysenter migration issue on AMD CPUs Andre Przywara
2009-08-23 10:05 ` Avi Kivity [this message]
2009-08-24 12:15 ` Thomas Besser
2009-08-24 13:03   ` Andre Przywara
2009-08-24 14:06     ` Thomas Besser

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=4A91145B.5080504@redhat.com \
    --to=avi@redhat.com \
    --cc=andre.przywara@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=nuitari-kvm@nuitari.net \
    --cc=thomas.besser@kit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.