WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] x86 svm: Fix PAT MSR handling when usi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] x86 svm: Fix PAT MSR handling when using Nested Paging.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 08:40:34 -0700
Delivery-date: Wed, 19 Aug 2009 08:41:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250695492 -3600
# Node ID dc54e755bd8f7f2b08fa37c62718c79591ca1681
# Parent  7409d60f38529486e74d616d56db249d51e0736a
x86 svm: Fix PAT MSR handling when using Nested Paging.

Accesses to the MSR should not be intercepted.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   20052:b3893b54d885
xen-unstable date:        Wed Aug 12 14:13:54 2009 +0100
---
 xen/arch/x86/hvm/svm/vmcb.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 7409d60f3852 -r dc54e755bd8f xen/arch/x86/hvm/svm/vmcb.c
--- a/xen/arch/x86/hvm/svm/vmcb.c       Wed Aug 19 16:05:59 2009 +0100
+++ b/xen/arch/x86/hvm/svm/vmcb.c       Wed Aug 19 16:24:52 2009 +0100
@@ -241,6 +241,9 @@ static int construct_vmcb(struct vcpu *v
          * that need to be fixed up.
          */
         vmcb->general1_intercepts &= ~GENERAL1_INTERCEPT_INVLPG;
+
+        /* PAT is under complete control of SVM when using nested paging. */
+        svm_disable_intercept_for_msr(v, MSR_IA32_CR_PAT);
     }
     else
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] x86 svm: Fix PAT MSR handling when using Nested Paging., Xen patchbot-3.4-testing <=