[PATCH 6/6] Enable MTRR for EPT

2008-10-09 Thread Sheng Yang
The effective memory type of EPT is the mixture of MSR_IA32_CR_PAT and memory type field of EPT entry. Signed-off-by: Sheng Yang [EMAIL PROTECTED] --- arch/x86/kvm/mmu.c | 11 ++- arch/x86/kvm/svm.c |6 ++ arch/x86/kvm/vmx.c | 12 +---

Re: [PATCH 6/6] Enable MTRR for EPT

2008-10-09 Thread Avi Kivity
Sheng Yang wrote: The effective memory type of EPT is the mixture of MSR_IA32_CR_PAT and memory type field of EPT entry. @@ -168,6 +168,7 @@ static u64 __read_mostly shadow_x_mask; /* mutual exclusive with nx_mask */ static u64 __read_mostly shadow_user_mask; static u64

Re: [PATCH 6/6] Enable MTRR for EPT

2008-10-09 Thread Sheng Yang
On Thursday 09 October 2008 16:44:19 Avi Kivity wrote: Sheng Yang wrote: The effective memory type of EPT is the mixture of MSR_IA32_CR_PAT and memory type field of EPT entry. @@ -168,6 +168,7 @@ static u64 __read_mostly shadow_x_mask; /* mutual exclusive with nx_mask */ static u64