lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] KVM: vmx: fix ept reserved bits for 1-GByte page
On Wed, Aug 20, 2014 at 10:13:07AM +0200, Paolo Bonzini wrote:
>Il 20/08/2014 09:31, Wanpeng Li ha scritto:
>> EPT misconfig handler in kvm will check which reason lead to EPT
>> misconfiguration after vmexit. One of the reasons is that an EPT
>> paging-structure entry is configured with settings reserved for
>> future functionality. However, the handler can't identify if
>> paging-structure entry of reserved bits for 1-GByte page are
>> configured, since PDPTE which point to 1-GByte page will reserve
>> bits 29:12 instead of bits 7:3 which are reserved for PDPTE that
>> references an EPT Page Directory. This patch fix it by reserve
>> bits 29:12 for 1-GByte page.
>
>Thanks, the patch looks good.
>
>Can you describe how you detected the problem and how you're testing for it?
>

I found the issue by reviewing codes.

Regards,
Wanpeng Li

>Paolo


\
 
 \ /
  Last update: 2014-08-20 10:41    [W:0.049 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site