All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: xen-devel@lists.xensource.com, Keir Fraser <keir@xensource.com>
Subject: Re: EFER in HVM guests
Date: Wed, 29 Nov 2006 14:08:21 +0000	[thread overview]
Message-ID: <456DA265.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C1933719.53A0%keir@xensource.com>

>>> Keir Fraser <keir@xensource.com> 29.11.06 14:09 >>>
>On 29/11/06 13:07, "Jan Beulich" <jbeulich@novell.com> wrote:
>
>> Is it intentional that
>> - under SVM, 32-bit guests can freely set EFER.LME
>> - under VMX, 32-bit guests can't access EFER at all?
>> 
>> Thanks, Jan
>
>I'm sure any differences are unintentional. There is obviously scope for
>making much of the MSR and CPUID code non-vmx/svm specific.
>
>I assume that this particular difference doesn't really matter?

I think it does - allowing a guest to enable EFER.LME when the
hypervisor is a 32-bit one is clearly a security problem: While I
haven't tried it, I would suspect the moment you load a context
with such an EFER the whole system's dead.
Not being able to access EFER is also a potential problem, as a
guest should be allowed to set EFER.NX (at least) - the CPUID
handling code specifically does not suppress this bit if the guest
is allowed to use PAE (which we agreed a few days ago should
be the default anyway).

Jan

  reply	other threads:[~2006-11-29 14:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 13:07 EFER in HVM guests Jan Beulich
2006-11-29 13:09 ` Keir Fraser
2006-11-29 14:08   ` Jan Beulich [this message]
2006-11-29 14:22     ` Petersson, Mats
2006-11-29 13:11 ` Petersson, Mats
2006-11-29 14:09   ` Jan Beulich
  -- strict thread matches above, loose matches on Subject: below --
2006-11-29 16:34 Nakajima, Jun
2006-11-29 17:21 ` Keir Fraser
2006-11-29 17:37 ` Petersson, Mats
2006-11-29 18:24 Nakajima, Jun
2006-12-13 12:48 Li, Xin B
2006-12-13 13:08 ` Jan Beulich
2006-12-13 14:37 ` Keir Fraser
2006-12-15 16:04   ` Woller, Thomas
2006-12-13 14:09 Li, Xin B
2006-12-13 14:13 Li, Xin B
2006-12-18 15:10 Li, Xin B
2006-12-18 15:47 ` Petersson, Mats
2006-12-19  6:44 Li, Xin B
2006-12-19  7:04 Li, Xin B
2006-12-19  9:12 Li, Xin B
2006-12-19  9:46 ` Petersson, Mats
2006-12-19 14:25 Li, Xin B
2006-12-19 20:38 ` Woller, Thomas
2006-12-20 11:29   ` Petersson, Mats
2006-12-20  1:27 Li, Xin B

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=456DA265.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.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 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.