|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86 svm: Fix PAT MSR handling when using
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250082834 -3600
# Node ID b3893b54d88533950ad72c32991e3f2cde05f89b
# Parent 481f730c944622ca891b1f87ae14c8b1052413cd
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/arch/x86/hvm/svm/vmcb.c | 3 +++
1 files changed, 3 insertions(+)
diff -r 481f730c9446 -r b3893b54d885 xen/arch/x86/hvm/svm/vmcb.c
--- a/xen/arch/x86/hvm/svm/vmcb.c Wed Aug 12 14:13:00 2009 +0100
+++ b/xen/arch/x86/hvm/svm/vmcb.c Wed Aug 12 14:13:54 2009 +0100
@@ -243,6 +243,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-unstable] x86 svm: Fix PAT MSR handling when using Nested Paging.,
Xen patchbot-unstable <=
|
|
|
|
|