Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622510 > unrolled thread

Re: [PATCH 2/6] KVM: VMX: remove bogus check for invalid EPT violation

Started byDavid Hildenbrand <david@redhat.com>
First post2017-04-12 22:10 +0200
Last post2017-04-12 22:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/6] KVM: VMX: remove bogus check for invalid EPT  violation David Hildenbrand <david@redhat.com> - 2017-04-12 22:10 +0200

#1622510 — Re: [PATCH 2/6] KVM: VMX: remove bogus check for invalid EPT violation

FromDavid Hildenbrand <david@redhat.com>
Date2017-04-12 22:10 +0200
SubjectRe: [PATCH 2/6] KVM: VMX: remove bogus check for invalid EPT violation
Message-ID<tvwKu-Gu-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web