lkml.org 
[lkml]   [2017]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] KVM: nVMX: fix EPT permissions as reported in exit qualification
From
Date


On 05/12/2017 11:59 AM, Xiao Guangrong wrote:
error:
>> @@ -452,7 +459,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker,
>> */
>> if (!(errcode & PFERR_RSVD_MASK)) {
>> vcpu->arch.exit_qualification &= 0x187;
>> - vcpu->arch.exit_qualification |= ((pt_access & pte) & 0x7) << 3;
> ^ here, the original code
> is buggy as pt_access and pte have different bit order, fortunately, this patch fixes it
> too. :)
>

It's exactly what this patch aims at, do not know what i was thinking when
wrote these down. :(

\
 
 \ /
  Last update: 2017-05-12 07:14    [W:0.045 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site