Thread (131 messages) 131 messages, 5 authors, 2019-09-10

Re: [RFC PATCH v6 26/92] kvm: x86: add kvm_mmu_nested_pagefault()

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2019-08-13 08:13:00
Also in: kvm, linux-mm

On 09/08/19 17:59, Adalbert Lazăr wrote:
+static bool vmx_nested_pagefault(struct kvm_vcpu *vcpu)
+{
+	if (vcpu->arch.exit_qualification & EPT_VIOLATION_GVA_TRANSLATED)
+		return false;
+	return true;
+}
+
This hook is misnamed; it has nothing to do with nested virtualization.
 Rather, it returns true if it the failure happened while translating
the address of a guest page table.

SVM makes the same information available in EXITINFO[33].

Paolo
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help