kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Sheng Yang <sheng@linux.intel.com>
Cc: Avi Kivity <avi@redhat.com>,
	kvm@vger.kernel.org, Dexuan Cui <dexuan.cui@intel.com>
Subject: Re: [PATCH v8 1/2] KVM: VMX: Enable XSAVE/XRSTOR for guest
Date: Thu, 10 Jun 2010 15:27:37 -0300	[thread overview]
Message-ID: <20100610182737.GA7999@amt.cnet> (raw)
In-Reply-To: <1276140433-29570-1-git-send-email-sheng@linux.intel.com>

On Thu, Jun 10, 2010 at 11:27:12AM +0800, Sheng Yang wrote:
> From: Dexuan Cui <dexuan.cui@intel.com>
> 
> This patch enable guest to use XSAVE/XRSTOR instructions.
> 
> We assume that host_xcr0 would use all possible bits that OS supported.
> 
> And we loaded xcr0 in the same way we handled fpu - do it as late as we can.
> 
> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
> Signed-off-by: Sheng Yang <sheng@linux.intel.com>
> ---
>  arch/x86/include/asm/kvm_host.h |    2 +
>  arch/x86/include/asm/vmx.h      |    1 +
>  arch/x86/kvm/kvm_cache_regs.h   |    6 ++
>  arch/x86/kvm/vmx.c              |   13 ++++
>  arch/x86/kvm/x86.c              |  130 ++++++++++++++++++++++++++++++++++++--
>  include/linux/kvm_host.h        |    2 +-
>  6 files changed, 146 insertions(+), 8 deletions(-)

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>


  parent reply	other threads:[~2010-06-10 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10  3:27 [PATCH v8 1/2] KVM: VMX: Enable XSAVE/XRSTOR for guest Sheng Yang
2010-06-10  3:27 ` [PATCH 2/2] KVM: x86: XSAVE/XRSTOR live migration support Sheng Yang
2010-06-10  9:19   ` Avi Kivity
2010-06-10  9:05 ` [PATCH v8 1/2] KVM: VMX: Enable XSAVE/XRSTOR for guest Avi Kivity
2010-06-10 18:27 ` Marcelo Tosatti [this message]
2010-06-11  5:15 ` Avi Kivity

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=20100610182737.GA7999@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=dexuan.cui@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng@linux.intel.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).