lkml.org 
[lkml]   [2017]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/6] KVM: VMX: remove bogus check for invalid EPT violation
    From
    Date
    On 30.03.2017 11:55, Paolo Bonzini wrote:
    > handle_ept_violation is checking for "guest-linear-address invalid" +
    > "not a paging-structure walk". However, _all_ EPT violations without
    > a valid guest linear address are paging structure walks, because those
    > EPT violations happen when loading the guest PDPTEs.
    >
    > Therefore, the check can never be true, and even if it were, KVM doesn't
    > care about the guest linear address; it only uses the guest *physical*
    > address VMCS field. So, remove the check altogether.
    >
    > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

    Reviewed-by: David Hildenbrand <david@redhat.com>

    --

    Thanks,

    David

    \
     
     \ /
      Last update: 2017-04-12 22:01    [W:5.049 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site