From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: jbeulich@suse.com, roger.pau@citrix.com
Cc: xen-devel@lists.xenproject.org
Subject: [V0 PATCH] PVH: Don't set EFER_SCE for pvh guest
Date: Thu, 21 Aug 2014 20:14:27 -0700 [thread overview]
Message-ID: <1408677267-15492-1-git-send-email-mukesh.rathor@oracle.com> (raw)
Just like NX is guest managed, SCE should be too. Remove setting of
the EFER_SCE for pvh guest.
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
---
xen/arch/x86/hvm/hvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index d40c48e..7ec618b 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -2283,7 +2283,7 @@ int hvm_vcpu_initialise(struct vcpu *v)
{
v->arch.hvm_vcpu.hcall_64bit = 1; /* PVH 32bitfixme. */
/* This is for hvm_long_mode_enabled(v). */
- v->arch.hvm_vcpu.guest_efer = EFER_SCE | EFER_LMA | EFER_LME;
+ v->arch.hvm_vcpu.guest_efer = EFER_LMA | EFER_LME;
return 0;
}
--
1.8.3.1
next reply other threads:[~2014-08-22 3:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 3:14 Mukesh Rathor [this message]
2014-08-22 9:57 ` [V0 PATCH] PVH: Don't set EFER_SCE for pvh guest Roger Pau Monné
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=1408677267-15492-1-git-send-email-mukesh.rathor@oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.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 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).