xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
	Jan Beulich <JBeulich@suse.com>
Cc: Cyclonus J <cyclonusj@gmail.com>, xen-devel <xen-devel@lists.xen.org>
Subject: Re: vmx_disable_intercept_for_msr(v, MSR_SHADOW_GS_BASE)
Date: Mon, 01 Jul 2013 10:51:44 +0100	[thread overview]
Message-ID: <CDF70FC0.2B42B%keir.xen@gmail.com> (raw)
In-Reply-To: <51D14F6B.3090307@citrix.com>

On 01/07/2013 10:44, "Andrew Cooper" <andrew.cooper3@citrix.com> wrote:

> On 01/07/13 10:38, Jan Beulich wrote:
>>>>> On 28.06.13 at 23:02, Cyclonus J <cyclonusj@gmail.com> wrote:
>>> I am wondering if we can disable the VMX interception for
>>> MSR_SHADOW_GS_BASE as AMD is already doing that.
>> I can't immediately see any reason why we shouldn't be permitted
>> to do this, but I also don't think this should be performance critical.
>> 
>> If you feel this is important, why don't you contribute a patch,
>> with its description saying under what conditions this can yield
>> measurable benefit?
>> 
>> Jan
> 
> Will this not cause a VMexit on each swapgs instruction, as the
> instruction itself does write to MSR 0xC0000102?
> 
> I have looked quite closely through the Intel manuals and cant find
> confirmation one way or another.

Only RDMSR/WRMSR trap on the MSR bitmaps.

> ~Andrew
> 
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-07-01  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 21:02 vmx_disable_intercept_for_msr(v, MSR_SHADOW_GS_BASE) Cyclonus J
2013-07-01  9:38 ` Jan Beulich
2013-07-01  9:44   ` Andrew Cooper
2013-07-01  9:48     ` Jan Beulich
2013-07-01  9:51     ` Keir Fraser [this message]
2013-07-01 10:00       ` Andrew Cooper

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=CDF70FC0.2B42B%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=cyclonusj@gmail.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).