Home
last modified time | relevance | path

Searched refs:pdpte (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
Dx86.c498 u64 pdpte[ARRAY_SIZE(mmu->pdptrs)]; in load_pdptrs() local
500 ret = kvm_read_guest_page_mmu(vcpu, mmu, pdpt_gfn, pdpte, in load_pdptrs()
501 offset * sizeof(u64), sizeof(pdpte), in load_pdptrs()
507 for (i = 0; i < ARRAY_SIZE(pdpte); ++i) { in load_pdptrs()
508 if (is_present_gpte(pdpte[i]) && in load_pdptrs()
509 (pdpte[i] & vcpu->arch.mmu.rsvd_bits_mask[0][2])) { in load_pdptrs()
516 memcpy(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs)); in load_pdptrs()
529 u64 pdpte[ARRAY_SIZE(vcpu->arch.walk_mmu->pdptrs)]; in pdptrs_changed() local
544 r = kvm_read_nested_guest_page(vcpu, gfn, pdpte, offset, sizeof(pdpte), in pdptrs_changed()
548 changed = memcmp(pdpte, vcpu->arch.walk_mmu->pdptrs, sizeof(pdpte)) != 0; in pdptrs_changed()
Dsvm.c1964 u64 pdpte; in nested_svm_get_tdp_pdptr() local
1967 ret = kvm_read_guest_page(vcpu->kvm, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
1971 return pdpte; in nested_svm_get_tdp_pdptr()