All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Euan Harris <euan.harris@citrix.com>
Cc: andrew.cooper3@citrix.com, kevin.tian@intel.com,
	jun.nakajima@intel.com, xen-devel@lists.xenproject.org
Subject: Re: [PATCH 2/2] nested vmx: Validate host VMX MSRs before accessing them
Date: Thu, 09 Jun 2016 06:47:55 -0600	[thread overview]
Message-ID: <5759819B02000078000F3796@prv-mh.provo.novell.com> (raw)
In-Reply-To: <1465467250-8742-3-git-send-email-euan.harris@citrix.com>

>>> On 09.06.16 at 12:14, <euan.harris@citrix.com> wrote:
> --- a/xen/arch/x86/hvm/vmx/vvmx.c
> +++ b/xen/arch/x86/hvm/vmx/vvmx.c
> @@ -1820,11 +1820,20 @@ int nvmx_msr_read_intercept(unsigned int msr, u64 *msr_content)
>          return 0;
>  
>      /*
> -     * Those MSRs are available only when bit 55 of
> -     * MSR_IA32_VMX_BASIC is set.
> +     * These MSRs are only available when flags in other MSRs are set.
> +     * These prerequisites are listed in the Intel 64 and IA-32
> +     * Architectures Software Developer’s Manual, Vol 3, Appendix A.
>       */
> -    switch ( msr )
> -    {
> +    switch ( msr ) { case MSR_IA32_VMX_PROCBASED_CTLS2:

I hope you didn't really mean to produce a garbled line like this?
With proper formatting restored
Reviewed-by: Jan Beulich <jbeulich@suse.com>

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

  reply	other threads:[~2016-06-09 12:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 10:14 [PATCH 0/2] Validate host VMX MSRs before accessing them Euan Harris
2016-06-09 10:14 ` [PATCH 1/2] nested vmx: Fix comment typos in nvmx_msr_read_intercept() Euan Harris
2016-06-12  7:37   ` Tian, Kevin
2016-06-09 10:14 ` [PATCH 2/2] nested vmx: Validate host VMX MSRs before accessing them Euan Harris
2016-06-09 12:47   ` Jan Beulich [this message]
2016-06-09 13:20     ` Euan Harris
2016-06-12  7:39       ` Tian, Kevin
2016-06-13 12:13 ` [PATCH 0/2] " 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=5759819B02000078000F3796@prv-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=euan.harris@citrix.com \
    --cc=jun.nakajima@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=xen-devel@lists.xenproject.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 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.